
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module gdata.youtube.service</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="gdata.html"><font color="#ffffff">gdata</font></a>.<a href="gdata.youtube.html"><font color="#ffffff">youtube</font></a>.service</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/lib/python2.6/dist-packages/gdata/youtube/service.py">/usr/local/lib/python2.6/dist-packages/gdata/youtube/service.py</a></font></td></tr></table>
    <p><tt><a href="#YouTubeService">YouTubeService</a>&nbsp;extends&nbsp;<a href="gdata.service.html#GDataService">GDataService</a>&nbsp;to&nbsp;streamline&nbsp;YouTube&nbsp;operations.<br>
&nbsp;<br>
<a href="#YouTubeService">YouTubeService</a>:&nbsp;Provides&nbsp;methods&nbsp;to&nbsp;perform&nbsp;CRUD&nbsp;operations&nbsp;on&nbsp;YouTube&nbsp;feeds.<br>
Extends&nbsp;<a href="gdata.service.html#GDataService">GDataService</a>.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="xml.etree.cElementTree.html">xml.etree.cElementTree</a><br>
</td><td width="25%" valign=top><a href="atom.html">atom</a><br>
</td><td width="25%" valign=top><a href="gdata.html">gdata</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#Error">Error</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#RequestError">RequestError</a>
</font></dt><dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeError">YouTubeError</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="gdata.service.html#GDataService">gdata.service.GDataService</a>(<a href="atom.service.html#AtomService">atom.service.AtomService</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeService">YouTubeService</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="gdata.service.html#Query">gdata.service.Query</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubePlaylistQuery">YouTubePlaylistQuery</a>
</font></dt><dt><font face="helvetica, arial"><a href="gdata.youtube.service.html#YouTubeUserQuery">YouTubeUserQuery</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Error">class <strong>Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Base&nbsp;class&nbsp;for&nbsp;errors&nbsp;within&nbsp;the&nbsp;YouTube&nbsp;service.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#Error-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>

<dl><dt><a name="Error-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="RequestError">class <strong>RequestError</strong></a>(<a href="gdata.youtube.service.html#Error">Error</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Error">Error</a>&nbsp;class&nbsp;that&nbsp;is&nbsp;thrown&nbsp;in&nbsp;response&nbsp;to&nbsp;an&nbsp;invalid&nbsp;HTTP&nbsp;Request.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#RequestError">RequestError</a></dd>
<dd><a href="gdata.youtube.service.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#Error">Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="RequestError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#RequestError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="RequestError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="RequestError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="RequestError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="RequestError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="RequestError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="RequestError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="RequestError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="RequestError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<dl><dt><a name="RequestError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>

<dl><dt><a name="RequestError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeError">class <strong>YouTubeError</strong></a>(<a href="gdata.youtube.service.html#Error">Error</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>YouTube&nbsp;service&nbsp;specific&nbsp;error&nbsp;class.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeError">YouTubeError</a></dd>
<dd><a href="gdata.youtube.service.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#Error">Error</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="YouTubeError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#YouTubeError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="YouTubeError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="YouTubeError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="YouTubeError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubeError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="YouTubeError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="YouTubeError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="YouTubeError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="YouTubeError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<dl><dt><a name="YouTubeError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>

<dl><dt><a name="YouTubeError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="YouTubePlaylistQuery">class <strong>YouTubePlaylistQuery</strong></a>(<a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Subclasses&nbsp;<a href="#YouTubeVideoQuery">YouTubeVideoQuery</a>&nbsp;to&nbsp;perform&nbsp;playlist-specific&nbsp;queries.<br>
&nbsp;<br>
Attributes&nbsp;are&nbsp;set&nbsp;dynamically&nbsp;via&nbsp;properties.&nbsp;Properties&nbsp;correspond&nbsp;to<br>
the&nbsp;standard&nbsp;Google&nbsp;Data&nbsp;API&nbsp;query&nbsp;parameters&nbsp;with&nbsp;YouTube&nbsp;Data&nbsp;API<br>
extensions.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubePlaylistQuery">YouTubePlaylistQuery</a></dd>
<dd><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a></dd>
<dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubePlaylistQuery-__init__"><strong>__init__</strong></a>(self, playlist_id, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>)</dt></dl>

<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>:<br>
<dl><dt><strong>format</strong></dt>
<dd><tt>The&nbsp;format&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>location</strong></dt>
<dd><tt>The&nbsp;location&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>lr</strong></dt>
<dd><tt>The&nbsp;lr&nbsp;(language&nbsp;restriction)&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>orderby</strong></dt>
<dd><tt>The&nbsp;orderby&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>racy</strong></dt>
<dd><tt>The&nbsp;racy&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>restriction</strong></dt>
<dd><tt>The&nbsp;restriction&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>time</strong></dt>
<dd><tt>The&nbsp;time&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>vq</strong></dt>
<dd><tt>The&nbsp;video&nbsp;query&nbsp;(vq)&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><a name="YouTubePlaylistQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl>

<dl><dt><a name="YouTubePlaylistQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>alt</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;alt&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>author</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;author&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>max_results</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;max-results&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>published_max</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-max&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>published_min</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-min&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>start_index</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;start-index&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>text_query</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;q&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>updated_max</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-max&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>updated_min</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-min&nbsp;parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="YouTubePlaylistQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubePlaylistQuery-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-__sizeof__">__sizeof__</a>()&nbsp;-&gt;&nbsp;size&nbsp;of&nbsp;D&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value.<br>
If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br>
2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty.</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#YouTubePlaylistQuery-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;dict/iterable&nbsp;E&nbsp;and&nbsp;F.<br>
If&nbsp;E&nbsp;has&nbsp;a&nbsp;.<a href="#YouTubePlaylistQuery-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br>
If&nbsp;E&nbsp;lacks&nbsp;.<a href="#YouTubePlaylistQuery-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v<br>
In&nbsp;either&nbsp;case,&nbsp;this&nbsp;is&nbsp;followed&nbsp;by:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl>

<dl><dt><a name="YouTubePlaylistQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubePlaylistQuery-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#YouTubePlaylistQuery-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object&gt;<dd><tt>dict.<a href="#YouTubePlaylistQuery-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;dict&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br>
v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeService">class <strong>YouTubeService</strong></a>(<a href="gdata.service.html#GDataService">gdata.service.GDataService</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Client&nbsp;for&nbsp;the&nbsp;YouTube&nbsp;service.<br>
&nbsp;<br>
Performs&nbsp;all&nbsp;documented&nbsp;Google&nbsp;Data&nbsp;YouTube&nbsp;API&nbsp;functions,&nbsp;such&nbsp;as&nbsp;inserting,<br>
updating&nbsp;and&nbsp;deleting&nbsp;videos,&nbsp;comments,&nbsp;playlist,&nbsp;subscriptions&nbsp;etc.<br>
YouTube&nbsp;Service&nbsp;requires&nbsp;authentication&nbsp;for&nbsp;any&nbsp;write,&nbsp;update&nbsp;or&nbsp;delete<br>
actions.<br>
&nbsp;<br>
Attributes:<br>
&nbsp;&nbsp;email:&nbsp;An&nbsp;optional&nbsp;string&nbsp;identifying&nbsp;the&nbsp;user.&nbsp;Required&nbsp;only&nbsp;for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated&nbsp;actions.<br>
&nbsp;&nbsp;password:&nbsp;An&nbsp;optional&nbsp;string&nbsp;identifying&nbsp;the&nbsp;user's&nbsp;password.<br>
&nbsp;&nbsp;source:&nbsp;An&nbsp;optional&nbsp;string&nbsp;identifying&nbsp;the&nbsp;name&nbsp;of&nbsp;your&nbsp;application.<br>
&nbsp;&nbsp;server:&nbsp;An&nbsp;optional&nbsp;address&nbsp;of&nbsp;the&nbsp;YouTube&nbsp;API&nbsp;server.&nbsp;gdata.youtube.com&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;provided&nbsp;as&nbsp;the&nbsp;default&nbsp;value.<br>
&nbsp;&nbsp;additional_headers:&nbsp;An&nbsp;optional&nbsp;dictionary&nbsp;containing&nbsp;additional&nbsp;headers<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;passed&nbsp;along&nbsp;with&nbsp;each&nbsp;request.&nbsp;Use&nbsp;to&nbsp;store&nbsp;developer&nbsp;key.<br>
&nbsp;&nbsp;client_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;identifying&nbsp;your&nbsp;application,&nbsp;required&nbsp;for&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated&nbsp;requests,&nbsp;along&nbsp;with&nbsp;a&nbsp;developer&nbsp;key.<br>
&nbsp;&nbsp;developer_key:&nbsp;An&nbsp;optional&nbsp;string&nbsp;value.&nbsp;Register&nbsp;your&nbsp;application&nbsp;at<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://code.google.com/apis/youtube/dashboard">http://code.google.com/apis/youtube/dashboard</a>&nbsp;to&nbsp;obtain&nbsp;a&nbsp;(free)&nbsp;key.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeService">YouTubeService</a></dd>
<dd><a href="gdata.service.html#GDataService">gdata.service.GDataService</a></dd>
<dd><a href="atom.service.html#AtomService">atom.service.AtomService</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubeService-AddComment"><strong>AddComment</strong></a>(self, comment_text, video_entry)</dt><dd><tt>Add&nbsp;a&nbsp;comment&nbsp;to&nbsp;a&nbsp;video&nbsp;entry.<br>
&nbsp;<br>
Needs&nbsp;authentication.&nbsp;Note&nbsp;that&nbsp;each&nbsp;comment&nbsp;that&nbsp;is&nbsp;posted&nbsp;must&nbsp;contain<br>
&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;video&nbsp;entry&nbsp;that&nbsp;it&nbsp;is&nbsp;to&nbsp;be&nbsp;posted&nbsp;to.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;comment_text:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;text&nbsp;of&nbsp;the&nbsp;comment.<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;be&nbsp;commented&nbsp;on.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;the&nbsp;comment&nbsp;was&nbsp;added&nbsp;successfully.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddComplaint"><strong>AddComplaint</strong></a>(self, complaint_text, complaint_term, video_id)</dt><dd><tt>Add&nbsp;a&nbsp;complaint&nbsp;for&nbsp;a&nbsp;particular&nbsp;video&nbsp;entry.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;complaint_text:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;complaint&nbsp;text.<br>
&nbsp;&nbsp;complaint_term:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;complaint&nbsp;category&nbsp;term.<br>
&nbsp;&nbsp;video_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;YouTubeVideoEntry&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;complain&nbsp;about.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;posted&nbsp;successfully.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;Your&nbsp;complaint_term&nbsp;is&nbsp;not&nbsp;valid.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddContact"><strong>AddContact</strong></a>(self, contact_username, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add&nbsp;a&nbsp;new&nbsp;contact&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;user's&nbsp;contact&nbsp;feed.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;contact_username:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;contact<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;you&nbsp;wish&nbsp;to&nbsp;add.<br>
&nbsp;&nbsp;my_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;to&nbsp;whose<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;contact&nbsp;the&nbsp;new&nbsp;contact&nbsp;is&nbsp;to&nbsp;be&nbsp;added.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;YouTubeContactEntry&nbsp;if&nbsp;added&nbsp;successfully.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddPlaylist"><strong>AddPlaylist</strong></a>(self, playlist_title, playlist_description, playlist_private<font color="#909090">=None</font>)</dt><dd><tt>Add&nbsp;a&nbsp;new&nbsp;playlist&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;users&nbsp;account.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;playlist_title:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;title&nbsp;for&nbsp;the&nbsp;new&nbsp;playlist.<br>
&nbsp;&nbsp;playlist_description:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;description&nbsp;of&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playlist.<br>
&nbsp;&nbsp;playlist_private:&nbsp;An&nbsp;optional&nbsp;boolean,&nbsp;set&nbsp;to&nbsp;True&nbsp;if&nbsp;the&nbsp;playlist&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;private.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;The&nbsp;YouTubePlaylistEntry&nbsp;if&nbsp;successfully&nbsp;posted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddPlaylistVideoEntryToPlaylist"><strong>AddPlaylistVideoEntryToPlaylist</strong></a>(self, playlist_uri, video_id, custom_video_title<font color="#909090">=None</font>, custom_video_description<font color="#909090">=None</font>)</dt><dd><tt>Add&nbsp;a&nbsp;video&nbsp;entry&nbsp;to&nbsp;a&nbsp;playlist,&nbsp;optionally&nbsp;providing&nbsp;a&nbsp;custom&nbsp;title<br>
and&nbsp;description.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;playlist_uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;playlist&nbsp;to&nbsp;which&nbsp;this<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video&nbsp;entry&nbsp;is&nbsp;to&nbsp;be&nbsp;added.<br>
&nbsp;&nbsp;video_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;entry&nbsp;to&nbsp;add.<br>
&nbsp;&nbsp;custom_video_title:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;a&nbsp;custom&nbsp;title&nbsp;for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;video&nbsp;(only&nbsp;shown&nbsp;on&nbsp;the&nbsp;playlist).<br>
&nbsp;&nbsp;custom_video_description:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;a&nbsp;custom<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description&nbsp;for&nbsp;the&nbsp;video&nbsp;(only&nbsp;shown&nbsp;on&nbsp;the&nbsp;playlist).<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubePlaylistVideoEntry&nbsp;if&nbsp;successfully&nbsp;posted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddRating"><strong>AddRating</strong></a>(self, rating_value, video_entry)</dt><dd><tt>Add&nbsp;a&nbsp;rating&nbsp;to&nbsp;a&nbsp;video&nbsp;entry.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;rating_value:&nbsp;The&nbsp;integer&nbsp;value&nbsp;for&nbsp;the&nbsp;rating&nbsp;(between&nbsp;1&nbsp;and&nbsp;5).<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;be&nbsp;rated.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;the&nbsp;rating&nbsp;was&nbsp;added&nbsp;successfully.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;rating_value&nbsp;must&nbsp;be&nbsp;between&nbsp;1&nbsp;and&nbsp;5&nbsp;in&nbsp;<a href="#YouTubeService-AddRating">AddRating</a>().</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddSubscriptionToChannel"><strong>AddSubscriptionToChannel</strong></a>(self, username_to_subscribe_to, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add&nbsp;a&nbsp;new&nbsp;channel&nbsp;subscription&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;users<br>
account.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;username_to_subscribe_to:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;channel&nbsp;to&nbsp;which&nbsp;we&nbsp;want&nbsp;to&nbsp;subscribe&nbsp;to.<br>
&nbsp;&nbsp;my_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;user&nbsp;which<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;we&nbsp;want&nbsp;to&nbsp;subscribe.&nbsp;Defaults&nbsp;to&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;new&nbsp;YouTubeSubscriptionEntry&nbsp;if&nbsp;successfully&nbsp;posted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddSubscriptionToFavorites"><strong>AddSubscriptionToFavorites</strong></a>(self, username, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add&nbsp;a&nbsp;new&nbsp;subscription&nbsp;to&nbsp;a&nbsp;users&nbsp;favorites&nbsp;to&nbsp;the&nbsp;currently<br>
authenticated&nbsp;user's&nbsp;account.<br>
&nbsp;<br>
Needs&nbsp;authentication<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;username:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;user's&nbsp;favorite&nbsp;feed<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;subscribe&nbsp;to.<br>
&nbsp;&nbsp;my_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;user<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;subscribed.&nbsp;Defaults&nbsp;to&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;new&nbsp;YouTubeSubscriptionEntry&nbsp;if&nbsp;successful.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddSubscriptionToQuery"><strong>AddSubscriptionToQuery</strong></a>(self, query, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Add&nbsp;a&nbsp;new&nbsp;subscription&nbsp;to&nbsp;a&nbsp;specific&nbsp;keyword&nbsp;query&nbsp;to&nbsp;the&nbsp;currently<br>
authenticated&nbsp;user's&nbsp;account.<br>
&nbsp;<br>
Needs&nbsp;authentication<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;query:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;keyword&nbsp;query&nbsp;to&nbsp;subscribe&nbsp;to.<br>
&nbsp;&nbsp;my_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;user<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;subscribed.&nbsp;Defaults&nbsp;to&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;new&nbsp;YouTubeSubscriptionEntry&nbsp;if&nbsp;successful.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddVideoEntryToFavorites"><strong>AddVideoEntryToFavorites</strong></a>(self, video_entry, username<font color="#909090">='default'</font>)</dt><dd><tt>Add&nbsp;a&nbsp;video&nbsp;entry&nbsp;to&nbsp;a&nbsp;users&nbsp;favorite&nbsp;feed.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;add.<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;to&nbsp;whose&nbsp;favorite<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feed&nbsp;you&nbsp;wish&nbsp;to&nbsp;add&nbsp;the&nbsp;entry.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated&nbsp;user.<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;posted&nbsp;YouTubeVideoEntry&nbsp;if&nbsp;successfully&nbsp;posted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-AddVideoResponse"><strong>AddVideoResponse</strong></a>(self, video_id_to_respond_to, video_response)</dt><dd><tt>Add&nbsp;a&nbsp;video&nbsp;response.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_id_to_respond_to:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;to&nbsp;be<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;responded&nbsp;to.<br>
&nbsp;&nbsp;video_response:&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;be&nbsp;posted&nbsp;as&nbsp;a&nbsp;response.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;video&nbsp;response&nbsp;was&nbsp;posted&nbsp;successfully.</tt></dd></dl>

<dl><dt><a name="YouTubeService-CheckUploadStatus"><strong>CheckUploadStatus</strong></a>(self, video_entry<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Check&nbsp;upload&nbsp;status&nbsp;on&nbsp;a&nbsp;recently&nbsp;uploaded&nbsp;video&nbsp;entry.<br>
&nbsp;<br>
Needs&nbsp;authentication.&nbsp;Either&nbsp;video_entry&nbsp;or&nbsp;video_id&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_entry:&nbsp;An&nbsp;optional&nbsp;YouTubeVideoEntry&nbsp;whose&nbsp;upload&nbsp;status&nbsp;to&nbsp;check<br>
&nbsp;&nbsp;video_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;uploaded&nbsp;video<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;whose&nbsp;status&nbsp;is&nbsp;to&nbsp;be&nbsp;checked.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;tuple&nbsp;containing&nbsp;(video_upload_state,&nbsp;detailed_message)&nbsp;or&nbsp;None&nbsp;if<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;status&nbsp;information&nbsp;is&nbsp;found.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;video_entry&nbsp;or&nbsp;a&nbsp;video_id&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-CheckUploadStatus">CheckUploadStatus</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeleteContact"><strong>DeleteContact</strong></a>(self, contact_username, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Delete&nbsp;a&nbsp;contact&nbsp;from&nbsp;a&nbsp;users&nbsp;contact&nbsp;feed.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;contact_username:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;contact<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;deleted.<br>
&nbsp;&nbsp;my_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;user's<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;contact&nbsp;feed&nbsp;from&nbsp;which&nbsp;to&nbsp;delete&nbsp;the&nbsp;contact.&nbsp;Defaults&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;the&nbsp;contact&nbsp;was&nbsp;deleted&nbsp;successfully</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeletePlaylist"><strong>DeletePlaylist</strong></a>(self, playlist_uri)</dt><dd><tt>Delete&nbsp;a&nbsp;playlist&nbsp;from&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;users&nbsp;playlists.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;playlist_uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;playlist&nbsp;that&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;deleted.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;successfully&nbsp;deleted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeletePlaylistVideoEntry"><strong>DeletePlaylistVideoEntry</strong></a>(self, playlist_uri, playlist_video_entry_id)</dt><dd><tt>Delete&nbsp;a&nbsp;playlist&nbsp;video&nbsp;entry&nbsp;from&nbsp;a&nbsp;playlist.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;playlist_uri:&nbsp;A&nbsp;URI&nbsp;representing&nbsp;the&nbsp;playlist&nbsp;from&nbsp;which&nbsp;the&nbsp;playlist<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video&nbsp;entry&nbsp;is&nbsp;to&nbsp;be&nbsp;removed&nbsp;from.<br>
&nbsp;&nbsp;playlist_video_entry_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;id&nbsp;of&nbsp;the&nbsp;playlist&nbsp;video<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;entry&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;removed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;&nbsp;True&nbsp;if&nbsp;entry&nbsp;was&nbsp;successfully&nbsp;deleted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeleteSubscription"><strong>DeleteSubscription</strong></a>(self, subscription_uri)</dt><dd><tt>Delete&nbsp;a&nbsp;subscription&nbsp;from&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;user's&nbsp;account.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;subscription_uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;subscription&nbsp;that<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;to&nbsp;be&nbsp;deleted.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;deleted&nbsp;successfully.</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeleteVideoEntry"><strong>DeleteVideoEntry</strong></a>(self, video_entry)</dt><dd><tt>Deletes&nbsp;a&nbsp;video&nbsp;entry.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;be&nbsp;deleted.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;entry&nbsp;was&nbsp;deleted&nbsp;successfully.</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeleteVideoEntryFromFavorites"><strong>DeleteVideoEntryFromFavorites</strong></a>(self, video_id, username<font color="#909090">='default'</font>)</dt><dd><tt>Delete&nbsp;a&nbsp;video&nbsp;entry&nbsp;from&nbsp;the&nbsp;users&nbsp;favorite&nbsp;feed.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;removed<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;user's<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;favorite&nbsp;feed.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;&nbsp;True&nbsp;if&nbsp;entry&nbsp;was&nbsp;successfully&nbsp;deleted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-DeleteVideoResponse"><strong>DeleteVideoResponse</strong></a>(self, video_id, response_video_id)</dt><dd><tt>Delete&nbsp;a&nbsp;video&nbsp;response.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;video&nbsp;that&nbsp;contains&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response.<br>
&nbsp;&nbsp;response_video_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;that&nbsp;was<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;posted&nbsp;as&nbsp;a&nbsp;response.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;video&nbsp;response&nbsp;was&nbsp;deleted&nbsp;succcessfully.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetFormUploadToken"><strong>GetFormUploadToken</strong></a>(self, video_entry, uri<font color="#909090">='http://gdata.youtube.com/action/GetUploadToken'</font>)</dt><dd><tt>Receives&nbsp;a&nbsp;YouTube&nbsp;Token&nbsp;and&nbsp;a&nbsp;YouTube&nbsp;PostUrl&nbsp;from&nbsp;a&nbsp;YouTubeVideoEntry.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;upload&nbsp;(meta-data&nbsp;only).<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;from&nbsp;where&nbsp;to&nbsp;fetch&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token&nbsp;information.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;YOUTUBE_UPLOADTOKEN_URI.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;tuple&nbsp;containing&nbsp;the&nbsp;URL&nbsp;to&nbsp;which&nbsp;to&nbsp;post&nbsp;your&nbsp;video&nbsp;file,&nbsp;along<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with&nbsp;the&nbsp;youtube&nbsp;token&nbsp;that&nbsp;must&nbsp;be&nbsp;included&nbsp;with&nbsp;your&nbsp;upload&nbsp;in&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;form&nbsp;of:&nbsp;(post_url,&nbsp;youtube_token).</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetMostDiscussedVideoFeed"><strong>GetMostDiscussedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'most_discussed'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetMostLinkedVideoFeed"><strong>GetMostLinkedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'most_linked'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetMostRecentVideoFeed"><strong>GetMostRecentVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'most_recent'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetMostRespondedVideoFeed"><strong>GetMostRespondedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'most_responded'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetMostViewedVideoFeed"><strong>GetMostViewedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'most_viewed'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetRecentlyFeaturedVideoFeed"><strong>GetRecentlyFeaturedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'recently_featured'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetTopFavoritesVideoFeed"><strong>GetTopFavoritesVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'top_favorites'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetTopRatedVideoFeed"><strong>GetTopRatedVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'top_rated'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetUserFavoritesFeed"><strong>GetUserFavoritesFeed</strong></a>(self, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve&nbsp;the&nbsp;favorites&nbsp;feed&nbsp;for&nbsp;a&nbsp;given&nbsp;user.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;whose&nbsp;favorites<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feed&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetWatchOnMobileVideoFeed"><strong>GetWatchOnMobileVideoFeed</strong></a>(self)</dt><dd><tt>Retrieve&nbsp;the&nbsp;'watch_on_mobile'&nbsp;standard&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeContactEntry"><strong>GetYouTubeContactEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeContactEntry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;contact&nbsp;entry&nbsp;that&nbsp;is&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeContactEntry&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeContactFeed"><strong>GetYouTubeContactFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeContactFeed.<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;contact&nbsp;feed&nbsp;that<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username.&nbsp;Defaults&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeContactFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeContactFeed">GetYouTubeContactFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubePlaylistEntry"><strong>GetYouTubePlaylistEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubePlaylistEntry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;playlist&nbsp;feed&nbsp;that&nbsp;is&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubePlaylistEntry&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubePlaylistFeed"><strong>GetYouTubePlaylistFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubePlaylistFeed&nbsp;(a&nbsp;feed&nbsp;of&nbsp;playlists&nbsp;for&nbsp;a&nbsp;user).<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;playlist&nbsp;feed&nbsp;that<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username.&nbsp;Defaults&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubePlaylistFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubePlaylistFeed">GetYouTubePlaylistFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubePlaylistVideoFeed"><strong>GetYouTubePlaylistVideoFeed</strong></a>(self, uri<font color="#909090">=None</font>, playlist_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubePlaylistVideoFeed&nbsp;(a&nbsp;feed&nbsp;of&nbsp;videos&nbsp;on&nbsp;a&nbsp;playlist).<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;playlist_id&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;playlist&nbsp;video&nbsp;feed<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;playlist_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;Id&nbsp;of&nbsp;the&nbsp;playlist&nbsp;whose<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playlist&nbsp;video&nbsp;feed&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubePlaylistVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;playlist_id&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubePlaylistVideoFeed">GetYouTubePlaylistVideoFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeRelatedVideoFeed"><strong>GetYouTubeRelatedVideoFeed</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeRelatedVideoFeed.<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;for&nbsp;the&nbsp;feed&nbsp;or&nbsp;a&nbsp;video_id&nbsp;is&nbsp;required.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;feed&nbsp;that&nbsp;is&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;video_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;for&nbsp;which<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;retrieve&nbsp;the&nbsp;related&nbsp;video&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeRelatedVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;video_id&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeRelatedVideoFeed">GetYouTubeRelatedVideoFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeSubscriptionEntry"><strong>GetYouTubeSubscriptionEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeSubscriptionEntry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;entry&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoSubscriptionEntry&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeSubscriptionFeed"><strong>GetYouTubeSubscriptionFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeSubscriptionFeed.<br>
&nbsp;<br>
Either&nbsp;the&nbsp;uri&nbsp;of&nbsp;the&nbsp;feed&nbsp;or&nbsp;a&nbsp;username&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;feed&nbsp;that&nbsp;is&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;whose&nbsp;subscription<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feed&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticted&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoSubscriptionFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeUserEntry"><strong>GetYouTubeUserEntry</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeUserEntry.<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;user&nbsp;entry&nbsp;that&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeUserEntry&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeUserEntry">GetYouTubeUserEntry</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeUserFeed"><strong>GetYouTubeUserFeed</strong></a>(self, uri<font color="#909090">=None</font>, username<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoFeed&nbsp;of&nbsp;user&nbsp;uploaded&nbsp;videos<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;must&nbsp;be&nbsp;provided.&nbsp;&nbsp;This&nbsp;will&nbsp;retrieve&nbsp;list<br>
of&nbsp;videos&nbsp;uploaded&nbsp;by&nbsp;specified&nbsp;user.&nbsp;&nbsp;The&nbsp;uri&nbsp;will&nbsp;be&nbsp;of&nbsp;format<br>
"<a href="http://gdata.youtube.com/feeds/api/users/{username}/uploads">http://gdata.youtube.com/feeds/api/users/{username}/uploads</a>".<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;user&nbsp;feed&nbsp;that&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeUserFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;username&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeUserFeed">GetYouTubeUserFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeVideoCommentEntry"><strong>GetYouTubeVideoCommentEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoCommentEntry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;comment&nbsp;entry&nbsp;that&nbsp;is&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeCommentEntry&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeVideoCommentFeed"><strong>GetYouTubeVideoCommentFeed</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoCommentFeed.<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;video_id&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;comment&nbsp;feed&nbsp;that<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;video_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;for&nbsp;which<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;retrieve&nbsp;the&nbsp;comment&nbsp;feed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoCommentFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;video_id&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeVideoCommentFeed">GetYouTubeVideoCommentFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeVideoEntry"><strong>GetYouTubeVideoEntry</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoEntry.<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;video_id&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;entry&nbsp;that&nbsp;is&nbsp;to&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;video_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;video_id&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeVideoEntry">GetYouTubeVideoEntry</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeVideoFeed"><strong>GetYouTubeVideoFeed</strong></a>(self, uri)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoFeed.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;feed&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeVideoResponseEntry"><strong>GetYouTubeVideoResponseEntry</strong></a>(self, uri)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoResponseEntry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;video&nbsp;response&nbsp;entry&nbsp;that<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoResponseEntry&nbsp;if&nbsp;successfully&nbsp;retrieved.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetYouTubeVideoResponseFeed"><strong>GetYouTubeVideoResponseFeed</strong></a>(self, uri<font color="#909090">=None</font>, video_id<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;a&nbsp;YouTubeVideoResponseFeed.<br>
&nbsp;<br>
Either&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;playlist_id&nbsp;must&nbsp;be&nbsp;provided.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;video&nbsp;response&nbsp;feed<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;&nbsp;video_id:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;video&nbsp;whose<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;feed&nbsp;is&nbsp;to&nbsp;be&nbsp;retrieved.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeVideoResponseFeed&nbsp;if&nbsp;successfully&nbsp;retrieved.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;You&nbsp;must&nbsp;provide&nbsp;at&nbsp;least&nbsp;a&nbsp;uri&nbsp;or&nbsp;a&nbsp;video_id&nbsp;to&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeService-GetYouTubeVideoResponseFeed">GetYouTubeVideoResponseFeed</a>()&nbsp;method.</tt></dd></dl>

<dl><dt><a name="YouTubeService-InsertVideoEntry"><strong>InsertVideoEntry</strong></a>(self, video_entry, filename_or_handle, youtube_username<font color="#909090">='default'</font>, content_type<font color="#909090">='video/quicktime'</font>)</dt><dd><tt>Upload&nbsp;a&nbsp;new&nbsp;video&nbsp;to&nbsp;YouTube&nbsp;using&nbsp;the&nbsp;direct&nbsp;upload&nbsp;mechanism.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;upload.<br>
&nbsp;&nbsp;filename_or_handle:&nbsp;A&nbsp;file-like&nbsp;object&nbsp;or&nbsp;file&nbsp;name&nbsp;where&nbsp;the&nbsp;video<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;be&nbsp;read&nbsp;from.<br>
&nbsp;&nbsp;youtube_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;into&nbsp;whose<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;account&nbsp;this&nbsp;video&nbsp;is&nbsp;to&nbsp;be&nbsp;uploaded&nbsp;to.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated&nbsp;user.<br>
&nbsp;&nbsp;content_type:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;internet&nbsp;media&nbsp;type<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(a.k.a.&nbsp;mime&nbsp;type)&nbsp;of&nbsp;the&nbsp;media&nbsp;object.&nbsp;Currently&nbsp;the&nbsp;YouTube&nbsp;API<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;supports&nbsp;these&nbsp;types:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;video/mpeg<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;video/quicktime<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;video/x-msvideo<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;video/mp4<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;video/x-flv<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;The&nbsp;newly&nbsp;created&nbsp;YouTubeVideoEntry&nbsp;if&nbsp;successful.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;AssertionError:&nbsp;video_entry&nbsp;must&nbsp;be&nbsp;a&nbsp;gdata.youtube.VideoEntry&nbsp;instance.<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;An&nbsp;error&nbsp;occurred&nbsp;trying&nbsp;to&nbsp;read&nbsp;the&nbsp;video&nbsp;file&nbsp;provided.<br>
&nbsp;&nbsp;gdata.service.<a href="#RequestError">RequestError</a>:&nbsp;An&nbsp;error&nbsp;occurred&nbsp;trying&nbsp;to&nbsp;upload&nbsp;the&nbsp;video<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;the&nbsp;API&nbsp;server.</tt></dd></dl>

<dl><dt><a name="YouTubeService-Query"><strong>Query</strong></a>(self, uri)</dt><dd><tt>Performs&nbsp;a&nbsp;query&nbsp;and&nbsp;returns&nbsp;a&nbsp;resulting&nbsp;feed&nbsp;or&nbsp;entry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;feed&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;queried.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;On&nbsp;success,&nbsp;a&nbsp;tuple&nbsp;in&nbsp;the&nbsp;form:<br>
&nbsp;&nbsp;(boolean&nbsp;succeeded=True,&nbsp;ElementTree._Element&nbsp;result)<br>
&nbsp;&nbsp;On&nbsp;failure,&nbsp;a&nbsp;tuple&nbsp;in&nbsp;the&nbsp;form:<br>
&nbsp;&nbsp;(boolean&nbsp;succeeded=False,&nbsp;{'status':&nbsp;HTTP&nbsp;status&nbsp;code&nbsp;from&nbsp;server,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'reason':&nbsp;HTTP&nbsp;reason&nbsp;from&nbsp;the&nbsp;server,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'body':&nbsp;HTTP&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;response})</tt></dd></dl>

<dl><dt><a name="YouTubeService-UpdateContact"><strong>UpdateContact</strong></a>(self, contact_username, new_contact_status, new_contact_category, my_username<font color="#909090">='default'</font>)</dt><dd><tt>Update&nbsp;a&nbsp;contact,&nbsp;providing&nbsp;a&nbsp;new&nbsp;status&nbsp;and&nbsp;a&nbsp;new&nbsp;category.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;contact_username:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;contact<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;is&nbsp;to&nbsp;be&nbsp;updated.<br>
&nbsp;&nbsp;new_contact_status:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;new&nbsp;status&nbsp;of&nbsp;the&nbsp;contact.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;can&nbsp;either&nbsp;be&nbsp;set&nbsp;to&nbsp;'accepted'&nbsp;or&nbsp;'rejected'.<br>
&nbsp;&nbsp;new_contact_category:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;new&nbsp;category&nbsp;for&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;contact,&nbsp;either&nbsp;'Friends'&nbsp;or&nbsp;'Family'.<br>
&nbsp;&nbsp;my_username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;of&nbsp;the&nbsp;user<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;whose&nbsp;contact&nbsp;feed&nbsp;we&nbsp;are&nbsp;modifying.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubeContactEntry&nbsp;if&nbsp;updated&nbsp;succesfully.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;<a href="#YouTubeError">YouTubeError</a>:&nbsp;New&nbsp;contact&nbsp;status&nbsp;must&nbsp;be&nbsp;within&nbsp;the&nbsp;accepted&nbsp;values.&nbsp;Or<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;contact&nbsp;category&nbsp;must&nbsp;be&nbsp;within&nbsp;the&nbsp;accepted&nbsp;categories.</tt></dd></dl>

<dl><dt><a name="YouTubeService-UpdatePlaylist"><strong>UpdatePlaylist</strong></a>(self, playlist_id, new_playlist_title, new_playlist_description, playlist_private<font color="#909090">=None</font>, username<font color="#909090">='default'</font>)</dt><dd><tt>Update&nbsp;a&nbsp;playlist&nbsp;with&nbsp;new&nbsp;meta-data.<br>
&nbsp;<br>
&nbsp;Needs&nbsp;authentication.<br>
&nbsp;<br>
&nbsp;Args:<br>
&nbsp;&nbsp;&nbsp;playlist_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;playlist&nbsp;to&nbsp;be&nbsp;updated.<br>
&nbsp;&nbsp;&nbsp;new_playlist_title:&nbsp;A&nbsp;string&nbsp;representing&nbsp;a&nbsp;new&nbsp;title&nbsp;for&nbsp;the&nbsp;playlist.<br>
&nbsp;&nbsp;&nbsp;new_playlist_description:&nbsp;A&nbsp;string&nbsp;representing&nbsp;a&nbsp;new&nbsp;description&nbsp;for&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playlist.<br>
&nbsp;&nbsp;&nbsp;playlist_private:&nbsp;An&nbsp;optional&nbsp;boolean,&nbsp;set&nbsp;to&nbsp;True&nbsp;if&nbsp;the&nbsp;playlist&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;private.<br>
&nbsp;&nbsp;&nbsp;username:&nbsp;An&nbsp;optional&nbsp;string&nbsp;representing&nbsp;the&nbsp;username&nbsp;whose&nbsp;playlist&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;be&nbsp;updated.&nbsp;Defaults&nbsp;to&nbsp;the&nbsp;currently&nbsp;authenticated&nbsp;user.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;&nbsp;A&nbsp;YouTubePlaylistEntry&nbsp;if&nbsp;the&nbsp;update&nbsp;was&nbsp;successful.</tt></dd></dl>

<dl><dt><a name="YouTubeService-UpdatePlaylistVideoEntryMetaData"><strong>UpdatePlaylistVideoEntryMetaData</strong></a>(self, playlist_uri, playlist_entry_id, new_video_title, new_video_description, new_video_position)</dt><dd><tt>Update&nbsp;the&nbsp;meta&nbsp;data&nbsp;for&nbsp;a&nbsp;YouTubePlaylistVideoEntry.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;playlist_uri:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;URI&nbsp;of&nbsp;the&nbsp;playlist&nbsp;that&nbsp;contains<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;entry&nbsp;to&nbsp;be&nbsp;updated.<br>
&nbsp;&nbsp;playlist_entry_id:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;ID&nbsp;of&nbsp;the&nbsp;entry&nbsp;to&nbsp;be<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;updated.<br>
&nbsp;&nbsp;new_video_title:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;new&nbsp;title&nbsp;for&nbsp;the&nbsp;video&nbsp;entry.<br>
&nbsp;&nbsp;new_video_description:&nbsp;A&nbsp;string&nbsp;representing&nbsp;the&nbsp;new&nbsp;description&nbsp;for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;video&nbsp;entry.<br>
&nbsp;&nbsp;new_video_position:&nbsp;An&nbsp;integer&nbsp;representing&nbsp;the&nbsp;new&nbsp;position&nbsp;on&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playlist&nbsp;for&nbsp;the&nbsp;video.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;YouTubePlaylistVideoEntry&nbsp;if&nbsp;the&nbsp;update&nbsp;was&nbsp;successful.</tt></dd></dl>

<dl><dt><a name="YouTubeService-UpdateVideoEntry"><strong>UpdateVideoEntry</strong></a>(self, video_entry)</dt><dd><tt>Updates&nbsp;a&nbsp;video&nbsp;entry's&nbsp;meta-data.<br>
&nbsp;<br>
Needs&nbsp;authentication.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;video_entry:&nbsp;The&nbsp;YouTubeVideoEntry&nbsp;to&nbsp;update,&nbsp;containing&nbsp;updated<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;meta-data.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;updated&nbsp;YouTubeVideoEntry&nbsp;on&nbsp;success&nbsp;or&nbsp;None.</tt></dd></dl>

<dl><dt><a name="YouTubeService-YouTubeQuery"><strong>YouTubeQuery</strong></a>(self, query)</dt><dd><tt>Performs&nbsp;a&nbsp;YouTube&nbsp;specific&nbsp;query&nbsp;and&nbsp;returns&nbsp;a&nbsp;resulting&nbsp;feed&nbsp;or&nbsp;entry.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;query:&nbsp;A&nbsp;<a href="gdata.service.html#Query">Query</a>&nbsp;object&nbsp;or&nbsp;one&nbsp;if&nbsp;its&nbsp;sub-classes&nbsp;(<a href="#YouTubeVideoQuery">YouTubeVideoQuery</a>,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#YouTubeUserQuery">YouTubeUserQuery</a>&nbsp;or&nbsp;<a href="#YouTubePlaylistQuery">YouTubePlaylistQuery</a>).<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;Depending&nbsp;on&nbsp;the&nbsp;type&nbsp;of&nbsp;<a href="gdata.service.html#Query">Query</a>&nbsp;object&nbsp;submitted&nbsp;returns&nbsp;either&nbsp;a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;YouTubeVideoFeed,&nbsp;a&nbsp;YouTubeUserFeed,&nbsp;a&nbsp;YouTubePlaylistFeed.&nbsp;If&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="gdata.service.html#Query">Query</a>&nbsp;object&nbsp;provided&nbsp;was&nbsp;not&nbsp;YouTube-related,&nbsp;a&nbsp;tuple&nbsp;is&nbsp;returned.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On&nbsp;success&nbsp;the&nbsp;tuple&nbsp;will&nbsp;be&nbsp;in&nbsp;this&nbsp;form:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(boolean&nbsp;succeeded=True,&nbsp;ElementTree._Element&nbsp;result)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On&nbsp;failure,&nbsp;the&nbsp;tuple&nbsp;will&nbsp;be&nbsp;in&nbsp;this&nbsp;form:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(boolean&nbsp;succeeded=False,&nbsp;{'status':&nbsp;HTTP&nbsp;status&nbsp;code&nbsp;from&nbsp;server,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'reason':&nbsp;HTTP&nbsp;reason&nbsp;from&nbsp;the&nbsp;server,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'body':&nbsp;HTTP&nbsp;body&nbsp;of&nbsp;the&nbsp;server&nbsp;response})</tt></dd></dl>

<dl><dt><a name="YouTubeService-__init__"><strong>__init__</strong></a>(self, email<font color="#909090">=None</font>, password<font color="#909090">=None</font>, source<font color="#909090">=None</font>, server<font color="#909090">='gdata.youtube.com'</font>, additional_headers<font color="#909090">=None</font>, client_id<font color="#909090">=None</font>, developer_key<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Creates&nbsp;a&nbsp;client&nbsp;for&nbsp;the&nbsp;YouTube&nbsp;service.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;email:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;user's&nbsp;email&nbsp;address,&nbsp;used&nbsp;for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authentication.<br>
&nbsp;&nbsp;password:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;user's&nbsp;password.<br>
&nbsp;&nbsp;source:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;user's&nbsp;application.<br>
&nbsp;&nbsp;server:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;server&nbsp;to&nbsp;which&nbsp;a&nbsp;connection<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;be&nbsp;opened.&nbsp;Default&nbsp;value:&nbsp;'gdata.youtube.com'.<br>
&nbsp;&nbsp;client_id:&nbsp;string&nbsp;(optional)&nbsp;Identifies&nbsp;your&nbsp;application,&nbsp;required&nbsp;for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated&nbsp;requests,&nbsp;along&nbsp;with&nbsp;a&nbsp;developer&nbsp;key.<br>
&nbsp;&nbsp;developer_key:&nbsp;string&nbsp;(optional)&nbsp;Register&nbsp;your&nbsp;application&nbsp;at<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://code.google.com/apis/youtube/dashboard">http://code.google.com/apis/youtube/dashboard</a>&nbsp;to&nbsp;obtain&nbsp;a&nbsp;(free)&nbsp;key.<br>
&nbsp;&nbsp;**kwargs:&nbsp;The&nbsp;other&nbsp;parameters&nbsp;to&nbsp;pass&nbsp;to&nbsp;gdata.service.<a href="gdata.service.html#GDataService">GDataService</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constructor.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>client_id</strong></dt>
<dd><tt>The&nbsp;ClientId&nbsp;property</tt></dd>
</dl>
<dl><dt><strong>developer_key</strong></dt>
<dd><tt>The&nbsp;Developer&nbsp;Key&nbsp;property</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br>
<dl><dt><a name="YouTubeService-AuthSubTokenInfo"><strong>AuthSubTokenInfo</strong></a>(self)</dt><dd><tt>Fetches&nbsp;the&nbsp;AuthSub&nbsp;token's&nbsp;metadata&nbsp;from&nbsp;the&nbsp;server.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;NonAuthSubToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;AuthSub&nbsp;token</tt></dd></dl>

<dl><dt><a name="YouTubeService-ClientLogin"><strong>ClientLogin</strong></a>(self, username, password, account_type<font color="#909090">=None</font>, service<font color="#909090">=None</font>, auth_service_url<font color="#909090">=None</font>, source<font color="#909090">=None</font>, captcha_token<font color="#909090">=None</font>, captcha_response<font color="#909090">=None</font>)</dt><dd><tt>Convenience&nbsp;method&nbsp;for&nbsp;authenticating&nbsp;using&nbsp;ProgrammaticLogin.&nbsp;<br>
&nbsp;<br>
Sets&nbsp;values&nbsp;for&nbsp;email,&nbsp;password,&nbsp;and&nbsp;other&nbsp;optional&nbsp;members.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;username:<br>
&nbsp;&nbsp;password:<br>
&nbsp;&nbsp;account_type:&nbsp;string&nbsp;(optional)<br>
&nbsp;&nbsp;service:&nbsp;string&nbsp;(optional)<br>
&nbsp;&nbsp;auth_service_url:&nbsp;string&nbsp;(optional)<br>
&nbsp;&nbsp;captcha_token:&nbsp;string&nbsp;(optional)<br>
&nbsp;&nbsp;captcha_response:&nbsp;string&nbsp;(optional)</tt></dd></dl>

<dl><dt><a name="YouTubeService-Delete"><strong>Delete</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>)</dt><dd><tt>Deletes&nbsp;the&nbsp;entry&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;URI&nbsp;of&nbsp;the&nbsp;entry&nbsp;to&nbsp;be&nbsp;deleted.&nbsp;Example:&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/items/ITEM-ID'<br>
&nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br>
&nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br>
&nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;True&nbsp;if&nbsp;the&nbsp;entry&nbsp;was&nbsp;deleted.</tt></dd></dl>

<dl><dt><a name="YouTubeService-FetchOAuthRequestToken"><strong>FetchOAuthRequestToken</strong></a>(self, scopes<font color="#909090">=None</font>, extra_parameters<font color="#909090">=None</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthGetRequestToken'</font>, oauth_callback<font color="#909090">=None</font>)</dt><dd><tt>Fetches&nbsp;and&nbsp;sets&nbsp;the&nbsp;OAuth&nbsp;request&nbsp;token&nbsp;and&nbsp;returns&nbsp;it.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;scopes:&nbsp;string&nbsp;or&nbsp;list&nbsp;of&nbsp;string&nbsp;base&nbsp;URL(s)&nbsp;of&nbsp;the&nbsp;service(s)&nbsp;to&nbsp;be<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessed.&nbsp;If&nbsp;None,&nbsp;then&nbsp;this&nbsp;method&nbsp;tries&nbsp;to&nbsp;determine&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scope(s)&nbsp;from&nbsp;the&nbsp;current&nbsp;service.<br>
&nbsp;&nbsp;extra_parameters:&nbsp;dict&nbsp;(optional)&nbsp;key-value&nbsp;pairs&nbsp;as&nbsp;any&nbsp;additional<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included&nbsp;in&nbsp;the&nbsp;URL&nbsp;and&nbsp;signature&nbsp;while&nbsp;making&nbsp;a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;request&nbsp;for&nbsp;fetching&nbsp;an&nbsp;OAuth&nbsp;request&nbsp;token.&nbsp;All&nbsp;the&nbsp;OAuth&nbsp;parameters<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are&nbsp;added&nbsp;by&nbsp;default.&nbsp;But&nbsp;if&nbsp;provided&nbsp;through&nbsp;this&nbsp;argument,&nbsp;any<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default&nbsp;parameters&nbsp;will&nbsp;be&nbsp;overwritten.&nbsp;For&nbsp;e.g.&nbsp;a&nbsp;default&nbsp;parameter<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oauth_version&nbsp;1.0&nbsp;can&nbsp;be&nbsp;overwritten&nbsp;if<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extra_parameters&nbsp;=&nbsp;{'oauth_version':&nbsp;'2.0'}<br>
&nbsp;&nbsp;request_url:&nbsp;Request&nbsp;token&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/OAuthGetRequestToken'.<br>
&nbsp;&nbsp;oauth_callback:&nbsp;str&nbsp;(optional)&nbsp;If&nbsp;set,&nbsp;it&nbsp;is&nbsp;assume&nbsp;the&nbsp;client&nbsp;is&nbsp;using<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;OAuth&nbsp;v1.0a&nbsp;protocol&nbsp;where&nbsp;the&nbsp;callback&nbsp;url&nbsp;is&nbsp;sent&nbsp;in&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;request&nbsp;token&nbsp;step.&nbsp;&nbsp;If&nbsp;the&nbsp;oauth_callback&nbsp;is&nbsp;also&nbsp;set&nbsp;in<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extra_params,&nbsp;this&nbsp;value&nbsp;will&nbsp;override&nbsp;that&nbsp;one.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;The&nbsp;fetched&nbsp;request&nbsp;token&nbsp;as&nbsp;a&nbsp;gdata.auth.OAuthToken&nbsp;object.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;FetchingOAuthRequestTokenFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request<br>
&nbsp;&nbsp;with&nbsp;an&nbsp;error.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GenerateAuthSubURL"><strong>GenerateAuthSubURL</strong></a>(self, next, scope, secure<font color="#909090">=False</font>, session<font color="#909090">=True</font>, domain<font color="#909090">='default'</font>)</dt><dd><tt>Generate&nbsp;a&nbsp;URL&nbsp;at&nbsp;which&nbsp;the&nbsp;user&nbsp;will&nbsp;login&nbsp;and&nbsp;be&nbsp;redirected&nbsp;back.<br>
&nbsp;<br>
Users&nbsp;enter&nbsp;their&nbsp;credentials&nbsp;on&nbsp;a&nbsp;Google&nbsp;login&nbsp;page&nbsp;and&nbsp;a&nbsp;token&nbsp;is&nbsp;sent<br>
to&nbsp;the&nbsp;URL&nbsp;specified&nbsp;in&nbsp;next.&nbsp;See&nbsp;documentation&nbsp;for&nbsp;AuthSub&nbsp;login&nbsp;at:<br>
<a href="http://code.google.com/apis/accounts/docs/AuthSub.html">http://code.google.com/apis/accounts/docs/AuthSub.html</a><br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;next:&nbsp;string&nbsp;The&nbsp;URL&nbsp;user&nbsp;will&nbsp;be&nbsp;sent&nbsp;to&nbsp;after&nbsp;logging&nbsp;in.<br>
&nbsp;&nbsp;scope:&nbsp;string&nbsp;or&nbsp;list&nbsp;of&nbsp;strings.&nbsp;The&nbsp;URLs&nbsp;of&nbsp;the&nbsp;services&nbsp;to&nbsp;be&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessed.<br>
&nbsp;&nbsp;secure:&nbsp;boolean&nbsp;(optional)&nbsp;Determines&nbsp;whether&nbsp;or&nbsp;not&nbsp;the&nbsp;issued&nbsp;token<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;a&nbsp;secure&nbsp;token.<br>
&nbsp;&nbsp;session:&nbsp;boolean&nbsp;(optional)&nbsp;Determines&nbsp;whether&nbsp;or&nbsp;not&nbsp;the&nbsp;issued&nbsp;token<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;can&nbsp;be&nbsp;upgraded&nbsp;to&nbsp;a&nbsp;session&nbsp;token.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GenerateOAuthAuthorizationURL"><strong>GenerateOAuthAuthorizationURL</strong></a>(self, request_token<font color="#909090">=None</font>, callback_url<font color="#909090">=None</font>, extra_params<font color="#909090">=None</font>, include_scopes_in_callback<font color="#909090">=False</font>, scopes_param_prefix<font color="#909090">='oauth_token_scope'</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthAuthorizeToken'</font>)</dt><dd><tt>Generates&nbsp;URL&nbsp;at&nbsp;which&nbsp;user&nbsp;will&nbsp;login&nbsp;to&nbsp;authorize&nbsp;the&nbsp;request&nbsp;token.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;request_token:&nbsp;gdata.auth.OAuthToken&nbsp;(optional)&nbsp;OAuth&nbsp;request&nbsp;token.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;not&nbsp;specified,&nbsp;then&nbsp;the&nbsp;current&nbsp;token&nbsp;will&nbsp;be&nbsp;used&nbsp;if&nbsp;it&nbsp;is&nbsp;of<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type&nbsp;&lt;gdata.auth.OAuthToken&gt;,&nbsp;else&nbsp;it&nbsp;is&nbsp;found&nbsp;by&nbsp;looking&nbsp;in&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token_store&nbsp;by&nbsp;looking&nbsp;for&nbsp;a&nbsp;token&nbsp;for&nbsp;the&nbsp;current&nbsp;scope.&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;callback_url:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;URL&nbsp;user&nbsp;will&nbsp;be&nbsp;sent&nbsp;to&nbsp;after<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logging&nbsp;in&nbsp;and&nbsp;granting&nbsp;access.<br>
&nbsp;&nbsp;extra_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;parameters&nbsp;to&nbsp;be&nbsp;sent.<br>
&nbsp;&nbsp;include_scopes_in_callback:&nbsp;Boolean&nbsp;(default=False)&nbsp;if&nbsp;set&nbsp;to&nbsp;True,&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;'callback_url'&nbsp;is&nbsp;present,&nbsp;the&nbsp;'callback_url'&nbsp;will&nbsp;be&nbsp;modified&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;the&nbsp;scope(s)&nbsp;from&nbsp;the&nbsp;request&nbsp;token&nbsp;as&nbsp;a&nbsp;URL&nbsp;parameter.&nbsp;The<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key&nbsp;for&nbsp;the&nbsp;'callback'&nbsp;URL's&nbsp;scope&nbsp;parameter&nbsp;will&nbsp;be<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OAUTH_SCOPE_URL_PARAM_NAME.&nbsp;The&nbsp;benefit&nbsp;of&nbsp;including&nbsp;the&nbsp;scope&nbsp;URL&nbsp;as<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;parameter&nbsp;to&nbsp;the&nbsp;'callback'&nbsp;URL,&nbsp;is&nbsp;that&nbsp;the&nbsp;page&nbsp;which&nbsp;receives<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;OAuth&nbsp;token&nbsp;will&nbsp;be&nbsp;able&nbsp;to&nbsp;tell&nbsp;which&nbsp;URLs&nbsp;the&nbsp;token&nbsp;grants<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access&nbsp;to.<br>
&nbsp;&nbsp;scopes_param_prefix:&nbsp;string&nbsp;(default='oauth_token_scope')&nbsp;The&nbsp;URL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parameter&nbsp;key&nbsp;which&nbsp;maps&nbsp;to&nbsp;the&nbsp;list&nbsp;of&nbsp;valid&nbsp;scopes&nbsp;for&nbsp;the&nbsp;token.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;URL&nbsp;parameter&nbsp;will&nbsp;be&nbsp;included&nbsp;in&nbsp;the&nbsp;callback&nbsp;URL&nbsp;along&nbsp;with<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;scopes&nbsp;of&nbsp;the&nbsp;token&nbsp;as&nbsp;value&nbsp;if&nbsp;include_scopes_in_callback=True.<br>
&nbsp;&nbsp;request_url:&nbsp;Authorization&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/OAuthAuthorizeToken'.<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;string&nbsp;URL&nbsp;at&nbsp;which&nbsp;the&nbsp;user&nbsp;is&nbsp;required&nbsp;to&nbsp;login.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;NonOAuthToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;request&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;OAuth&nbsp;token&nbsp;or&nbsp;if&nbsp;a<br>
&nbsp;&nbsp;request&nbsp;token&nbsp;was&nbsp;not&nbsp;available.</tt></dd></dl>

<dl><dt><a name="YouTubeService-Get"><strong>Get</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, redirects_remaining<font color="#909090">=4</font>, encoding<font color="#909090">='UTF-8'</font>, converter<font color="#909090">=None</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a>&nbsp;the&nbsp;GData&nbsp;API&nbsp;with&nbsp;the&nbsp;given&nbsp;URI<br>
&nbsp;<br>
The&nbsp;uri&nbsp;is&nbsp;the&nbsp;portion&nbsp;of&nbsp;the&nbsp;URI&nbsp;after&nbsp;the&nbsp;server&nbsp;value&nbsp;<br>
(ex:&nbsp;www.google.com).<br>
&nbsp;<br>
To&nbsp;perform&nbsp;a&nbsp;query&nbsp;against&nbsp;Google&nbsp;Base,&nbsp;set&nbsp;the&nbsp;server&nbsp;to&nbsp;<br>
'base.google.com'&nbsp;and&nbsp;set&nbsp;the&nbsp;uri&nbsp;to&nbsp;'/base/feeds/...',&nbsp;where&nbsp;...&nbsp;is&nbsp;<br>
your&nbsp;query.&nbsp;For&nbsp;example,&nbsp;to&nbsp;find&nbsp;snippets&nbsp;for&nbsp;all&nbsp;digital&nbsp;cameras&nbsp;uri&nbsp;<br>
should&nbsp;be&nbsp;set&nbsp;to:&nbsp;'/base/feeds/snippets?bq=digital+camera'<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;query&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;URI.&nbsp;Example:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/snippets?bq=digital+camera'.<br>
&nbsp;&nbsp;extra_headers:&nbsp;dictionary&nbsp;(optional)&nbsp;Extra&nbsp;HTTP&nbsp;headers&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;GET&nbsp;request.&nbsp;These&nbsp;headers&nbsp;are&nbsp;in&nbsp;addition&nbsp;to&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;those&nbsp;stored&nbsp;in&nbsp;the&nbsp;client's&nbsp;additional_headers&nbsp;property.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br>
&nbsp;&nbsp;redirects_remaining:&nbsp;int&nbsp;(optional)&nbsp;Tracks&nbsp;the&nbsp;number&nbsp;of&nbsp;additional<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redirects&nbsp;this&nbsp;method&nbsp;will&nbsp;allow.&nbsp;If&nbsp;the&nbsp;service&nbsp;object&nbsp;receives<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;redirect&nbsp;and&nbsp;remaining&nbsp;is&nbsp;0,&nbsp;it&nbsp;will&nbsp;not&nbsp;follow&nbsp;the&nbsp;redirect.&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;was&nbsp;added&nbsp;to&nbsp;avoid&nbsp;infinite&nbsp;redirect&nbsp;loops.<br>
&nbsp;&nbsp;encoding:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;character&nbsp;encoding&nbsp;for&nbsp;the&nbsp;server's<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response.&nbsp;Default&nbsp;is&nbsp;UTF-8<br>
&nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;transform<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server's&nbsp;results&nbsp;before&nbsp;it&nbsp;is&nbsp;returned.&nbsp;Example:&nbsp;use&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataFeedFromString&nbsp;to&nbsp;parse&nbsp;the&nbsp;server&nbsp;response&nbsp;as&nbsp;if&nbsp;it<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;were&nbsp;a&nbsp;GDataFeed.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;If&nbsp;there&nbsp;is&nbsp;no&nbsp;ResultsTransformer&nbsp;specified&nbsp;in&nbsp;the&nbsp;call,&nbsp;a&nbsp;GDataFeed&nbsp;<br>
&nbsp;&nbsp;or&nbsp;GDataEntry&nbsp;depending&nbsp;on&nbsp;which&nbsp;is&nbsp;sent&nbsp;from&nbsp;the&nbsp;server.&nbsp;If&nbsp;the&nbsp;<br>
&nbsp;&nbsp;response&nbsp;is&nbsp;niether&nbsp;a&nbsp;feed&nbsp;or&nbsp;entry&nbsp;and&nbsp;there&nbsp;is&nbsp;no&nbsp;ResultsTransformer,<br>
&nbsp;&nbsp;return&nbsp;a&nbsp;string.&nbsp;If&nbsp;there&nbsp;is&nbsp;a&nbsp;ResultsTransformer,&nbsp;the&nbsp;returned&nbsp;value&nbsp;<br>
&nbsp;&nbsp;will&nbsp;be&nbsp;that&nbsp;of&nbsp;the&nbsp;ResultsTransformer&nbsp;function.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetAuthSubToken"><strong>GetAuthSubToken</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;AuthSub&nbsp;token&nbsp;as&nbsp;a&nbsp;string.<br>
&nbsp;<br>
If&nbsp;the&nbsp;token&nbsp;is&nbsp;an&nbsp;gdta.auth.AuthSubToken,&nbsp;the&nbsp;Authorization&nbsp;Label<br>
("AuthSub&nbsp;token")&nbsp;is&nbsp;removed.<br>
&nbsp;<br>
This&nbsp;method&nbsp;examines&nbsp;the&nbsp;current_token&nbsp;to&nbsp;see&nbsp;if&nbsp;it&nbsp;is&nbsp;an&nbsp;AuthSubToken<br>
or&nbsp;SecureAuthSubToken.&nbsp;If&nbsp;not,&nbsp;it&nbsp;searches&nbsp;the&nbsp;token_store&nbsp;for&nbsp;a&nbsp;token<br>
which&nbsp;matches&nbsp;the&nbsp;current&nbsp;scope.<br>
&nbsp;<br>
The&nbsp;current&nbsp;scope&nbsp;is&nbsp;determined&nbsp;by&nbsp;the&nbsp;service&nbsp;name&nbsp;string&nbsp;member.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;If&nbsp;the&nbsp;current_token&nbsp;is&nbsp;set&nbsp;to&nbsp;an&nbsp;AuthSubToken/SecureAuthSubToken,<br>
&nbsp;&nbsp;return&nbsp;the&nbsp;token&nbsp;string.&nbsp;If&nbsp;there&nbsp;is&nbsp;no&nbsp;current_token,&nbsp;a&nbsp;token&nbsp;string<br>
&nbsp;&nbsp;for&nbsp;a&nbsp;token&nbsp;which&nbsp;matches&nbsp;the&nbsp;service&nbsp;object's&nbsp;default&nbsp;scope&nbsp;is&nbsp;returned.<br>
&nbsp;&nbsp;If&nbsp;there&nbsp;are&nbsp;no&nbsp;tokens&nbsp;valid&nbsp;for&nbsp;the&nbsp;scope,&nbsp;returns&nbsp;None.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetClientLoginToken"><strong>GetClientLoginToken</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;token&nbsp;string&nbsp;for&nbsp;the&nbsp;current&nbsp;token&nbsp;or&nbsp;a&nbsp;token&nbsp;matching&nbsp;the&nbsp;<br>
service&nbsp;scope.<br>
&nbsp;<br>
If&nbsp;the&nbsp;current_token&nbsp;is&nbsp;a&nbsp;ClientLoginToken,&nbsp;the&nbsp;token&nbsp;string&nbsp;for&nbsp;<br>
the&nbsp;current&nbsp;token&nbsp;is&nbsp;returned.&nbsp;If&nbsp;the&nbsp;current_token&nbsp;is&nbsp;not&nbsp;set,&nbsp;this&nbsp;method<br>
searches&nbsp;for&nbsp;a&nbsp;token&nbsp;in&nbsp;the&nbsp;token_store&nbsp;which&nbsp;is&nbsp;valid&nbsp;for&nbsp;the&nbsp;service&nbsp;<br>
object's&nbsp;current&nbsp;scope.<br>
&nbsp;<br>
The&nbsp;current&nbsp;scope&nbsp;is&nbsp;determined&nbsp;by&nbsp;the&nbsp;service&nbsp;name&nbsp;string&nbsp;member.<br>
The&nbsp;token&nbsp;string&nbsp;is&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;Authorization&nbsp;header,&nbsp;it&nbsp;doesn&nbsp;not<br>
include&nbsp;the&nbsp;ClientLogin&nbsp;label.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetEntry"><strong>GetEntry</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a>&nbsp;the&nbsp;GData&nbsp;API&nbsp;with&nbsp;the&nbsp;given&nbsp;URI&nbsp;and&nbsp;receive&nbsp;an&nbsp;Entry.<br>
&nbsp;<br>
See&nbsp;also&nbsp;documentation&nbsp;for&nbsp;gdata.service.Get<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;query&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;URI.&nbsp;Example:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/snippets?bq=digital+camera'.<br>
&nbsp;&nbsp;extra_headers:&nbsp;dictionary&nbsp;(optional)&nbsp;Extra&nbsp;HTTP&nbsp;headers&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;GET&nbsp;request.&nbsp;These&nbsp;headers&nbsp;are&nbsp;in&nbsp;addition&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;those&nbsp;stored&nbsp;in&nbsp;the&nbsp;client's&nbsp;additional_headers&nbsp;property.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;GDataEntry&nbsp;built&nbsp;from&nbsp;the&nbsp;XML&nbsp;in&nbsp;the&nbsp;server's&nbsp;response.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetFeed"><strong>GetFeed</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, converter<font color="#909090">=&lt;function GDataFeedFromString&gt;</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a>&nbsp;the&nbsp;GData&nbsp;API&nbsp;with&nbsp;the&nbsp;given&nbsp;URI&nbsp;and&nbsp;receive&nbsp;a&nbsp;Feed.<br>
&nbsp;<br>
See&nbsp;also&nbsp;documentation&nbsp;for&nbsp;gdata.service.Get<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;query&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;URI.&nbsp;Example:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/snippets?bq=digital+camera'.<br>
&nbsp;&nbsp;extra_headers:&nbsp;dictionary&nbsp;(optional)&nbsp;Extra&nbsp;HTTP&nbsp;headers&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;GET&nbsp;request.&nbsp;These&nbsp;headers&nbsp;are&nbsp;in&nbsp;addition&nbsp;to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;those&nbsp;stored&nbsp;in&nbsp;the&nbsp;client's&nbsp;additional_headers&nbsp;property.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;GDataFeed&nbsp;built&nbsp;from&nbsp;the&nbsp;XML&nbsp;in&nbsp;the&nbsp;server's&nbsp;response.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetGeneratorFromLinkFinder"><strong>GetGeneratorFromLinkFinder</strong></a>(self, link_finder, func, num_retries<font color="#909090">=3</font>, delay<font color="#909090">=1</font>, backoff<font color="#909090">=2</font>)</dt><dd><tt>returns&nbsp;a&nbsp;generator&nbsp;for&nbsp;pagination</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetMedia"><strong>GetMedia</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;MediaSource&nbsp;containing&nbsp;media&nbsp;and&nbsp;its&nbsp;metadata&nbsp;from&nbsp;the&nbsp;given<br>
URI&nbsp;string.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetNext"><strong>GetNext</strong></a>(self, feed)</dt><dd><tt>Requests&nbsp;the&nbsp;next&nbsp;'page'&nbsp;of&nbsp;results&nbsp;in&nbsp;the&nbsp;feed.<br>
&nbsp;<br>
This&nbsp;method&nbsp;uses&nbsp;the&nbsp;feed's&nbsp;next&nbsp;link&nbsp;to&nbsp;request&nbsp;an&nbsp;additional&nbsp;feed<br>
and&nbsp;uses&nbsp;the&nbsp;class&nbsp;of&nbsp;the&nbsp;feed&nbsp;to&nbsp;convert&nbsp;the&nbsp;results&nbsp;of&nbsp;the&nbsp;GET&nbsp;request.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;feed:&nbsp;atom.Feed&nbsp;or&nbsp;a&nbsp;subclass.&nbsp;The&nbsp;feed&nbsp;should&nbsp;contain&nbsp;a&nbsp;next&nbsp;link&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;type&nbsp;of&nbsp;the&nbsp;feed&nbsp;will&nbsp;be&nbsp;applied&nbsp;to&nbsp;the&nbsp;results&nbsp;from&nbsp;the&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server.&nbsp;The&nbsp;new&nbsp;feed&nbsp;which&nbsp;is&nbsp;returned&nbsp;will&nbsp;be&nbsp;of&nbsp;the&nbsp;same&nbsp;class<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;as&nbsp;this&nbsp;feed&nbsp;which&nbsp;was&nbsp;passed&nbsp;in.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;new&nbsp;feed&nbsp;representing&nbsp;the&nbsp;next&nbsp;set&nbsp;of&nbsp;results&nbsp;in&nbsp;the&nbsp;server's&nbsp;feed.<br>
&nbsp;&nbsp;The&nbsp;type&nbsp;of&nbsp;this&nbsp;feed&nbsp;will&nbsp;match&nbsp;that&nbsp;of&nbsp;the&nbsp;feed&nbsp;argument.</tt></dd></dl>

<dl><dt><a name="YouTubeService-GetOAuthInputParameters"><strong>GetOAuthInputParameters</strong></a>(self)</dt></dl>

<dl><dt><a name="YouTubeService-GetWithRetries"><strong>GetWithRetries</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, redirects_remaining<font color="#909090">=4</font>, encoding<font color="#909090">='UTF-8'</font>, converter<font color="#909090">=None</font>, num_retries<font color="#909090">=3</font>, delay<font color="#909090">=1</font>, backoff<font color="#909090">=2</font>, logger<font color="#909090">=None</font>)</dt><dd><tt>This&nbsp;is&nbsp;a&nbsp;wrapper&nbsp;method&nbsp;for&nbsp;Get&nbsp;with&nbsp;retrying&nbsp;capability.<br>
&nbsp;<br>
To&nbsp;avoid&nbsp;various&nbsp;errors&nbsp;while&nbsp;retrieving&nbsp;bulk&nbsp;entities&nbsp;by&nbsp;retrying<br>
specified&nbsp;times.<br>
&nbsp;<br>
Note&nbsp;this&nbsp;method&nbsp;relies&nbsp;on&nbsp;the&nbsp;time&nbsp;module&nbsp;and&nbsp;so&nbsp;may&nbsp;not&nbsp;be&nbsp;usable<br>
by&nbsp;default&nbsp;in&nbsp;Python2.2.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;num_retries:&nbsp;Integer;&nbsp;the&nbsp;retry&nbsp;count.<br>
&nbsp;&nbsp;delay:&nbsp;Integer;&nbsp;the&nbsp;initial&nbsp;delay&nbsp;for&nbsp;retrying.<br>
&nbsp;&nbsp;backoff:&nbsp;Integer;&nbsp;how&nbsp;much&nbsp;the&nbsp;delay&nbsp;should&nbsp;lengthen&nbsp;after&nbsp;each&nbsp;failure.<br>
&nbsp;&nbsp;logger:&nbsp;An&nbsp;object&nbsp;which&nbsp;has&nbsp;a&nbsp;<a href="#YouTubeService-debug">debug</a>(str)&nbsp;method&nbsp;to&nbsp;receive&nbsp;logging<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;messages.&nbsp;Recommended&nbsp;that&nbsp;you&nbsp;pass&nbsp;in&nbsp;the&nbsp;logging&nbsp;module.<br>
Raises:<br>
&nbsp;&nbsp;ValueError&nbsp;if&nbsp;any&nbsp;of&nbsp;the&nbsp;parameters&nbsp;has&nbsp;an&nbsp;invalid&nbsp;value.<br>
&nbsp;&nbsp;RanOutOfTries&nbsp;on&nbsp;failure&nbsp;after&nbsp;number&nbsp;of&nbsp;retries.</tt></dd></dl>

<dl><dt><a name="YouTubeService-Post"><strong>Post</strong></a>(self, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Insert&nbsp;or&nbsp;update&nbsp;&nbsp;data&nbsp;into&nbsp;a&nbsp;GData&nbsp;service&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;data:&nbsp;string,&nbsp;ElementTree._Element,&nbsp;atom.Entry,&nbsp;or&nbsp;gdata.GDataEntry&nbsp;The<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XML&nbsp;to&nbsp;be&nbsp;sent&nbsp;to&nbsp;the&nbsp;uri.<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;location&nbsp;(feed)&nbsp;to&nbsp;which&nbsp;the&nbsp;data&nbsp;should&nbsp;be&nbsp;inserted.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;'/base/feeds/items'.<br>
&nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization,&nbsp;and&nbsp;Content-Length&nbsp;headers.<br>
&nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br>
&nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br>
&nbsp;&nbsp;media_source:&nbsp;MediaSource&nbsp;(optional)&nbsp;Container&nbsp;for&nbsp;the&nbsp;media&nbsp;to&nbsp;be&nbsp;sent<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;along&nbsp;with&nbsp;the&nbsp;entry,&nbsp;if&nbsp;provided.<br>
&nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;be&nbsp;executed&nbsp;on&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server's&nbsp;response.&nbsp;Often&nbsp;this&nbsp;is&nbsp;a&nbsp;function&nbsp;like<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataEntryFromString&nbsp;which&nbsp;will&nbsp;parse&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;server's<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;and&nbsp;return&nbsp;a&nbsp;GDataEntry.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;If&nbsp;the&nbsp;post&nbsp;succeeded,&nbsp;this&nbsp;method&nbsp;will&nbsp;return&nbsp;a&nbsp;GDataFeed,&nbsp;GDataEntry,<br>
&nbsp;&nbsp;or&nbsp;the&nbsp;results&nbsp;of&nbsp;running&nbsp;converter&nbsp;on&nbsp;the&nbsp;server's&nbsp;result&nbsp;body&nbsp;(if<br>
&nbsp;&nbsp;converter&nbsp;was&nbsp;specified).</tt></dd></dl>

<dl><dt><a name="YouTubeService-PostOrPut"><strong>PostOrPut</strong></a>(self, verb, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Insert&nbsp;data&nbsp;into&nbsp;a&nbsp;GData&nbsp;service&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;verb:&nbsp;string,&nbsp;either&nbsp;'POST'&nbsp;or&nbsp;'PUT'<br>
&nbsp;&nbsp;data:&nbsp;string,&nbsp;ElementTree._Element,&nbsp;atom.Entry,&nbsp;or&nbsp;gdata.GDataEntry&nbsp;The<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XML&nbsp;to&nbsp;be&nbsp;sent&nbsp;to&nbsp;the&nbsp;uri.&nbsp;<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;location&nbsp;(feed)&nbsp;to&nbsp;which&nbsp;the&nbsp;data&nbsp;should&nbsp;be&nbsp;inserted.&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;'/base/feeds/items'.&nbsp;<br>
&nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization,&nbsp;and&nbsp;Content-Length&nbsp;headers.<br>
&nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br>
&nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br>
&nbsp;&nbsp;media_source:&nbsp;MediaSource&nbsp;(optional)&nbsp;Container&nbsp;for&nbsp;the&nbsp;media&nbsp;to&nbsp;be&nbsp;sent<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;along&nbsp;with&nbsp;the&nbsp;entry,&nbsp;if&nbsp;provided.<br>
&nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;be&nbsp;executed&nbsp;on&nbsp;the&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server's&nbsp;response.&nbsp;Often&nbsp;this&nbsp;is&nbsp;a&nbsp;function&nbsp;like&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataEntryFromString&nbsp;which&nbsp;will&nbsp;parse&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;and&nbsp;return&nbsp;a&nbsp;GDataEntry.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;If&nbsp;the&nbsp;post&nbsp;succeeded,&nbsp;this&nbsp;method&nbsp;will&nbsp;return&nbsp;a&nbsp;GDataFeed,&nbsp;GDataEntry,<br>
&nbsp;&nbsp;or&nbsp;the&nbsp;results&nbsp;of&nbsp;running&nbsp;converter&nbsp;on&nbsp;the&nbsp;server's&nbsp;result&nbsp;body&nbsp;(if<br>
&nbsp;&nbsp;converter&nbsp;was&nbsp;specified).</tt></dd></dl>

<dl><dt><a name="YouTubeService-ProgrammaticLogin"><strong>ProgrammaticLogin</strong></a>(self, captcha_token<font color="#909090">=None</font>, captcha_response<font color="#909090">=None</font>)</dt><dd><tt>Authenticates&nbsp;the&nbsp;user&nbsp;and&nbsp;sets&nbsp;the&nbsp;GData&nbsp;Auth&nbsp;token.<br>
&nbsp;<br>
Login&nbsp;retreives&nbsp;a&nbsp;temporary&nbsp;auth&nbsp;token&nbsp;which&nbsp;must&nbsp;be&nbsp;used&nbsp;with&nbsp;all<br>
requests&nbsp;to&nbsp;GData&nbsp;services.&nbsp;The&nbsp;auth&nbsp;token&nbsp;is&nbsp;stored&nbsp;in&nbsp;the&nbsp;GData&nbsp;client<br>
object.<br>
&nbsp;<br>
Login&nbsp;is&nbsp;also&nbsp;used&nbsp;to&nbsp;respond&nbsp;to&nbsp;a&nbsp;captcha&nbsp;challenge.&nbsp;If&nbsp;the&nbsp;user's&nbsp;login<br>
attempt&nbsp;failed&nbsp;with&nbsp;a&nbsp;CaptchaRequired&nbsp;error,&nbsp;the&nbsp;user&nbsp;can&nbsp;respond&nbsp;by<br>
calling&nbsp;Login&nbsp;with&nbsp;the&nbsp;captcha&nbsp;token&nbsp;and&nbsp;the&nbsp;answer&nbsp;to&nbsp;the&nbsp;challenge.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;captcha_token:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;identifier&nbsp;for&nbsp;the&nbsp;captcha&nbsp;challenge<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;which&nbsp;was&nbsp;presented&nbsp;to&nbsp;the&nbsp;user.<br>
&nbsp;&nbsp;captcha_response:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;user's&nbsp;answer&nbsp;to&nbsp;the&nbsp;captch&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;challenge.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;CaptchaRequired&nbsp;if&nbsp;the&nbsp;login&nbsp;service&nbsp;will&nbsp;require&nbsp;a&nbsp;captcha&nbsp;response<br>
&nbsp;&nbsp;BadAuthentication&nbsp;if&nbsp;the&nbsp;login&nbsp;service&nbsp;rejected&nbsp;the&nbsp;username&nbsp;or&nbsp;password<br>
&nbsp;&nbsp;<a href="#Error">Error</a>&nbsp;if&nbsp;the&nbsp;login&nbsp;service&nbsp;responded&nbsp;with&nbsp;a&nbsp;403&nbsp;different&nbsp;from&nbsp;the&nbsp;above</tt></dd></dl>

<dl><dt><a name="YouTubeService-Put"><strong>Put</strong></a>(self, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=3</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Updates&nbsp;an&nbsp;entry&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;data:&nbsp;string,&nbsp;ElementTree._Element,&nbsp;or&nbsp;xml_wrapper.ElementWrapper&nbsp;The&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XML&nbsp;containing&nbsp;the&nbsp;updated&nbsp;data.<br>
&nbsp;&nbsp;uri:&nbsp;string&nbsp;A&nbsp;URI&nbsp;indicating&nbsp;entry&nbsp;to&nbsp;which&nbsp;the&nbsp;update&nbsp;will&nbsp;be&nbsp;applied.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;'/base/feeds/items/ITEM-ID'<br>
&nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization,&nbsp;and&nbsp;Content-Length&nbsp;headers.<br>
&nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br>
&nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br>
&nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;be&nbsp;executed&nbsp;on&nbsp;the&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server's&nbsp;response.&nbsp;Often&nbsp;this&nbsp;is&nbsp;a&nbsp;function&nbsp;like&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataEntryFromString&nbsp;which&nbsp;will&nbsp;parse&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;and&nbsp;return&nbsp;a&nbsp;GDataEntry.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;If&nbsp;the&nbsp;put&nbsp;succeeded,&nbsp;this&nbsp;method&nbsp;will&nbsp;return&nbsp;a&nbsp;GDataFeed,&nbsp;GDataEntry,<br>
&nbsp;&nbsp;or&nbsp;the&nbsp;results&nbsp;of&nbsp;running&nbsp;converter&nbsp;on&nbsp;the&nbsp;server's&nbsp;result&nbsp;body&nbsp;(if<br>
&nbsp;&nbsp;converter&nbsp;was&nbsp;specified).</tt></dd></dl>

<dl><dt><a name="YouTubeService-RevokeAuthSubToken"><strong>RevokeAuthSubToken</strong></a>(self)</dt><dd><tt>Revokes&nbsp;an&nbsp;existing&nbsp;AuthSub&nbsp;token.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;NonAuthSubToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;AuthSub&nbsp;token</tt></dd></dl>

<dl><dt><a name="YouTubeService-RevokeOAuthToken"><strong>RevokeOAuthToken</strong></a>(self, request_url<font color="#909090">='https://www.google.com/accounts/AuthSubRevokeToken'</font>)</dt><dd><tt>Revokes&nbsp;an&nbsp;existing&nbsp;OAuth&nbsp;token.<br>
&nbsp;<br>
request_url:&nbsp;Token&nbsp;revoke&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/AuthSubRevokeToken'.<br>
Raises:<br>
&nbsp;&nbsp;NonOAuthToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;OAuth&nbsp;token.<br>
&nbsp;&nbsp;RevokingOAuthTokenFailed&nbsp;if&nbsp;request&nbsp;for&nbsp;revoking&nbsp;an&nbsp;OAuth&nbsp;token&nbsp;failed.</tt></dd></dl>

<dl><dt><a name="YouTubeService-SetAuthSubToken"><strong>SetAuthSubToken</strong></a>(self, token, scopes<font color="#909090">=None</font>, rsa_key<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;the&nbsp;token&nbsp;sent&nbsp;in&nbsp;requests&nbsp;to&nbsp;an&nbsp;AuthSub&nbsp;token.<br>
&nbsp;<br>
Sets&nbsp;the&nbsp;current_token&nbsp;and&nbsp;attempts&nbsp;to&nbsp;add&nbsp;the&nbsp;token&nbsp;to&nbsp;the&nbsp;token_store.<br>
&nbsp;<br>
Only&nbsp;use&nbsp;this&nbsp;method&nbsp;if&nbsp;you&nbsp;have&nbsp;received&nbsp;a&nbsp;token&nbsp;from&nbsp;the&nbsp;AuthSub<br>
service.&nbsp;The&nbsp;auth&nbsp;token&nbsp;is&nbsp;set&nbsp;automatically&nbsp;when&nbsp;<a href="#YouTubeService-UpgradeToSessionToken">UpgradeToSessionToken</a>()<br>
is&nbsp;used.&nbsp;See&nbsp;documentation&nbsp;for&nbsp;Google&nbsp;AuthSub&nbsp;here:<br>
<a href="http://code.google.com/apis/accounts/AuthForWebApps.html">http://code.google.com/apis/accounts/AuthForWebApps.html</a>&nbsp;<br>
&nbsp;<br>
Args:<br>
&nbsp;token:&nbsp;gdata.auth.AuthSubToken&nbsp;or&nbsp;gdata.auth.SecureAuthSubToken&nbsp;or&nbsp;string<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;token&nbsp;returned&nbsp;by&nbsp;the&nbsp;AuthSub&nbsp;service.&nbsp;If&nbsp;the&nbsp;token&nbsp;is&nbsp;an<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AuthSubToken&nbsp;or&nbsp;SecureAuthSubToken,&nbsp;the&nbsp;scope&nbsp;information&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;token&nbsp;is&nbsp;used.&nbsp;If&nbsp;the&nbsp;token&nbsp;is&nbsp;a&nbsp;string,&nbsp;the&nbsp;scopes&nbsp;parameter&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;to&nbsp;determine&nbsp;the&nbsp;valid&nbsp;scopes.<br>
&nbsp;scopes:&nbsp;list&nbsp;of&nbsp;URLs&nbsp;for&nbsp;which&nbsp;the&nbsp;token&nbsp;is&nbsp;valid.&nbsp;This&nbsp;is&nbsp;only&nbsp;used<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;the&nbsp;token&nbsp;parameter&nbsp;is&nbsp;a&nbsp;string.<br>
&nbsp;rsa_key:&nbsp;string&nbsp;(optional)&nbsp;Private&nbsp;key&nbsp;required&nbsp;for&nbsp;RSA_SHA1&nbsp;signature<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method.&nbsp;&nbsp;This&nbsp;parameter&nbsp;is&nbsp;necessary&nbsp;if&nbsp;the&nbsp;token&nbsp;is&nbsp;a&nbsp;string<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;representing&nbsp;a&nbsp;secure&nbsp;token.</tt></dd></dl>

<dl><dt><a name="YouTubeService-SetClientLoginToken"><strong>SetClientLoginToken</strong></a>(self, token, scopes<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;the&nbsp;token&nbsp;sent&nbsp;in&nbsp;requests&nbsp;to&nbsp;a&nbsp;ClientLogin&nbsp;token.<br>
&nbsp;<br>
This&nbsp;method&nbsp;sets&nbsp;the&nbsp;current_token&nbsp;to&nbsp;a&nbsp;new&nbsp;ClientLoginToken&nbsp;and&nbsp;it&nbsp;<br>
also&nbsp;attempts&nbsp;to&nbsp;add&nbsp;the&nbsp;ClientLoginToken&nbsp;to&nbsp;the&nbsp;token_store.<br>
&nbsp;<br>
Only&nbsp;use&nbsp;this&nbsp;method&nbsp;if&nbsp;you&nbsp;have&nbsp;received&nbsp;a&nbsp;token&nbsp;from&nbsp;the&nbsp;ClientLogin<br>
service.&nbsp;The&nbsp;auth_token&nbsp;is&nbsp;set&nbsp;automatically&nbsp;when&nbsp;<a href="#YouTubeService-ProgrammaticLogin">ProgrammaticLogin</a>()<br>
is&nbsp;used.&nbsp;See&nbsp;documentation&nbsp;for&nbsp;Google&nbsp;ClientLogin&nbsp;here:<br>
<a href="http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html">http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html</a><br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;token:&nbsp;string&nbsp;or&nbsp;instance&nbsp;of&nbsp;a&nbsp;ClientLoginToken.</tt></dd></dl>

<dl><dt><a name="YouTubeService-SetOAuthInputParameters"><strong>SetOAuthInputParameters</strong></a>(self, signature_method, consumer_key, consumer_secret<font color="#909090">=None</font>, rsa_key<font color="#909090">=None</font>, two_legged_oauth<font color="#909090">=False</font>, requestor_id<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;parameters&nbsp;required&nbsp;for&nbsp;using&nbsp;OAuth&nbsp;authentication&nbsp;mechanism.<br>
&nbsp;<br>
NOTE:&nbsp;Though&nbsp;consumer_secret&nbsp;and&nbsp;rsa_key&nbsp;are&nbsp;optional,&nbsp;either&nbsp;of&nbsp;the&nbsp;two<br>
is&nbsp;required&nbsp;depending&nbsp;on&nbsp;the&nbsp;value&nbsp;of&nbsp;the&nbsp;signature_method.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;signature_method:&nbsp;class&nbsp;which&nbsp;provides&nbsp;implementation&nbsp;for&nbsp;strategy&nbsp;class<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oauth.oauth.OAuthSignatureMethod.&nbsp;Signature&nbsp;method&nbsp;to&nbsp;be&nbsp;used&nbsp;for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;signing&nbsp;each&nbsp;request.&nbsp;Valid&nbsp;implementations&nbsp;are&nbsp;provided&nbsp;as&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constants&nbsp;defined&nbsp;by&nbsp;gdata.auth.OAuthSignatureMethod.&nbsp;Currently<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;they&nbsp;are&nbsp;gdata.auth.OAuthSignatureMethod.RSA_SHA1&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gdata.auth.OAuthSignatureMethod.HMAC_SHA1<br>
&nbsp;&nbsp;consumer_key:&nbsp;string&nbsp;Domain&nbsp;identifying&nbsp;third_party&nbsp;web&nbsp;application.<br>
&nbsp;&nbsp;consumer_secret:&nbsp;string&nbsp;(optional)&nbsp;Secret&nbsp;generated&nbsp;during&nbsp;registration.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Required&nbsp;only&nbsp;for&nbsp;HMAC_SHA1&nbsp;signature&nbsp;method.<br>
&nbsp;&nbsp;rsa_key:&nbsp;string&nbsp;(optional)&nbsp;Private&nbsp;key&nbsp;required&nbsp;for&nbsp;RSA_SHA1&nbsp;signature<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method.<br>
&nbsp;&nbsp;two_legged_oauth:&nbsp;boolean&nbsp;(optional)&nbsp;Enables&nbsp;two-legged&nbsp;OAuth&nbsp;process.<br>
&nbsp;&nbsp;requestor_id:&nbsp;string&nbsp;(optional)&nbsp;User&nbsp;email&nbsp;adress&nbsp;to&nbsp;make&nbsp;requests&nbsp;on<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;their&nbsp;behalf.&nbsp;&nbsp;This&nbsp;parameter&nbsp;should&nbsp;only&nbsp;be&nbsp;set&nbsp;when&nbsp;two_legged_oauth<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;True.</tt></dd></dl>

<dl><dt><a name="YouTubeService-SetOAuthToken"><strong>SetOAuthToken</strong></a>(self, oauth_token)</dt><dd><tt>Attempts&nbsp;to&nbsp;set&nbsp;the&nbsp;current&nbsp;token&nbsp;and&nbsp;add&nbsp;it&nbsp;to&nbsp;the&nbsp;token&nbsp;store.<br>
&nbsp;<br>
The&nbsp;oauth_token&nbsp;can&nbsp;be&nbsp;any&nbsp;OAuth&nbsp;token&nbsp;i.e.&nbsp;unauthorized&nbsp;request&nbsp;token,<br>
authorized&nbsp;request&nbsp;token&nbsp;or&nbsp;access&nbsp;token.<br>
This&nbsp;method&nbsp;also&nbsp;attempts&nbsp;to&nbsp;add&nbsp;the&nbsp;token&nbsp;to&nbsp;the&nbsp;token&nbsp;store.<br>
Use&nbsp;this&nbsp;method&nbsp;any&nbsp;time&nbsp;you&nbsp;want&nbsp;the&nbsp;current&nbsp;token&nbsp;to&nbsp;point&nbsp;to&nbsp;the<br>
oauth_token&nbsp;passed.&nbsp;For&nbsp;e.g.&nbsp;call&nbsp;this&nbsp;method&nbsp;with&nbsp;the&nbsp;request&nbsp;token<br>
you&nbsp;receive&nbsp;from&nbsp;FetchOAuthRequestToken.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;request_token:&nbsp;gdata.auth.OAuthToken&nbsp;OAuth&nbsp;request&nbsp;token.</tt></dd></dl>

<dl><dt><a name="YouTubeService-UpgradeToOAuthAccessToken"><strong>UpgradeToOAuthAccessToken</strong></a>(self, authorized_request_token<font color="#909090">=None</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthGetAccessToken'</font>, oauth_version<font color="#909090">='1.0'</font>, oauth_verifier<font color="#909090">=None</font>)</dt><dd><tt>Upgrades&nbsp;the&nbsp;authorized&nbsp;request&nbsp;token&nbsp;to&nbsp;an&nbsp;access&nbsp;token&nbsp;and&nbsp;returns&nbsp;it<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;authorized_request_token:&nbsp;gdata.auth.OAuthToken&nbsp;(optional)&nbsp;OAuth&nbsp;request<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token.&nbsp;If&nbsp;not&nbsp;specified,&nbsp;then&nbsp;the&nbsp;current&nbsp;token&nbsp;will&nbsp;be&nbsp;used&nbsp;if&nbsp;it&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;of&nbsp;type&nbsp;&lt;gdata.auth.OAuthToken&gt;,&nbsp;else&nbsp;it&nbsp;is&nbsp;found&nbsp;by&nbsp;looking&nbsp;in&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token_store&nbsp;by&nbsp;looking&nbsp;for&nbsp;a&nbsp;token&nbsp;for&nbsp;the&nbsp;current&nbsp;scope.<br>
&nbsp;&nbsp;request_url:&nbsp;Access&nbsp;token&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/OAuthGetAccessToken'.<br>
&nbsp;&nbsp;oauth_version:&nbsp;str&nbsp;(default='1.0')&nbsp;oauth_version&nbsp;parameter.&nbsp;All&nbsp;other<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'oauth_'&nbsp;parameters&nbsp;are&nbsp;added&nbsp;by&nbsp;default.&nbsp;This&nbsp;parameter&nbsp;too,&nbsp;is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;added&nbsp;by&nbsp;default&nbsp;but&nbsp;here&nbsp;you&nbsp;can&nbsp;override&nbsp;it's&nbsp;value.<br>
&nbsp;&nbsp;oauth_verifier:&nbsp;str&nbsp;(optional)&nbsp;If&nbsp;present,&nbsp;it&nbsp;is&nbsp;assumed&nbsp;that&nbsp;the&nbsp;client<br>
&nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;use&nbsp;the&nbsp;OAuth&nbsp;v1.0a&nbsp;protocol&nbsp;which&nbsp;includes&nbsp;passing&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;oauth_verifier&nbsp;(as&nbsp;returned&nbsp;by&nbsp;the&nbsp;SP)&nbsp;in&nbsp;the&nbsp;access&nbsp;token&nbsp;step.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;Access&nbsp;token<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;NonOAuthToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;authorized&nbsp;request&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;OAuth<br>
&nbsp;&nbsp;token&nbsp;or&nbsp;if&nbsp;an&nbsp;authorized&nbsp;request&nbsp;token&nbsp;was&nbsp;not&nbsp;available.<br>
&nbsp;&nbsp;TokenUpgradeFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request&nbsp;with&nbsp;an&nbsp;<br>
&nbsp;&nbsp;error.</tt></dd></dl>

<dl><dt><a name="YouTubeService-UpgradeToSessionToken"><strong>UpgradeToSessionToken</strong></a>(self, token<font color="#909090">=None</font>)</dt><dd><tt>Upgrades&nbsp;a&nbsp;single&nbsp;use&nbsp;AuthSub&nbsp;token&nbsp;to&nbsp;a&nbsp;session&nbsp;token.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;token:&nbsp;A&nbsp;gdata.auth.AuthSubToken&nbsp;or&nbsp;gdata.auth.SecureAuthSubToken<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(optional)&nbsp;which&nbsp;is&nbsp;good&nbsp;for&nbsp;a&nbsp;single&nbsp;use&nbsp;but&nbsp;can&nbsp;be&nbsp;upgraded<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;a&nbsp;session&nbsp;token.&nbsp;If&nbsp;no&nbsp;token&nbsp;is&nbsp;passed&nbsp;in,&nbsp;the&nbsp;token<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;found&nbsp;by&nbsp;looking&nbsp;in&nbsp;the&nbsp;token_store&nbsp;by&nbsp;looking&nbsp;for&nbsp;a&nbsp;token<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;the&nbsp;current&nbsp;scope.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;NonAuthSubToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;AuthSub&nbsp;token<br>
&nbsp;&nbsp;TokenUpgradeFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request&nbsp;with&nbsp;an&nbsp;<br>
&nbsp;&nbsp;error.</tt></dd></dl>

<dl><dt><a name="YouTubeService-upgrade_to_session_token"><strong>upgrade_to_session_token</strong></a>(self, token)</dt><dd><tt>Upgrades&nbsp;a&nbsp;single&nbsp;use&nbsp;AuthSub&nbsp;token&nbsp;to&nbsp;a&nbsp;session&nbsp;token.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;token:&nbsp;A&nbsp;gdata.auth.AuthSubToken&nbsp;or&nbsp;gdata.auth.SecureAuthSubToken<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;which&nbsp;is&nbsp;good&nbsp;for&nbsp;a&nbsp;single&nbsp;use&nbsp;but&nbsp;can&nbsp;be&nbsp;upgraded&nbsp;to&nbsp;a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;session&nbsp;token.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;The&nbsp;upgraded&nbsp;token&nbsp;as&nbsp;a&nbsp;gdata.auth.AuthSubToken&nbsp;object.<br>
&nbsp;<br>
Raises:<br>
&nbsp;&nbsp;TokenUpgradeFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request&nbsp;with&nbsp;an&nbsp;<br>
&nbsp;&nbsp;error.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br>
<dl><dt><strong>captcha_token</strong></dt>
<dd><tt>Get&nbsp;the&nbsp;captcha&nbsp;token&nbsp;for&nbsp;a&nbsp;login&nbsp;request.</tt></dd>
</dl>
<dl><dt><strong>captcha_url</strong></dt>
<dd><tt>Get&nbsp;the&nbsp;captcha&nbsp;URL&nbsp;for&nbsp;a&nbsp;login&nbsp;request.</tt></dd>
</dl>
<dl><dt><strong>source</strong></dt>
<dd><tt>The&nbsp;source&nbsp;is&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;application&nbsp;making&nbsp;the&nbsp;request.&nbsp;<br>
It&nbsp;should&nbsp;be&nbsp;in&nbsp;the&nbsp;form&nbsp;company_id-app_name-app_version</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br>
<dl><dt><strong>auth_token</strong> = None</dl>

<dl><dt><strong>handler</strong> = None</dl>

<dl><dt><strong>tokens</strong> = None</dl>

<hr>
Methods inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br>
<dl><dt><a name="YouTubeService-UseBasicAuth"><strong>UseBasicAuth</strong></a>(self, username, password, for_proxy<font color="#909090">=False</font>)</dt><dd><tt>Sets&nbsp;an&nbsp;Authenticaiton:&nbsp;Basic&nbsp;HTTP&nbsp;header&nbsp;containing&nbsp;plaintext.<br>
&nbsp;<br>
Deprecated,&nbsp;use&nbsp;use_basic_auth&nbsp;instead.<br>
&nbsp;<br>
The&nbsp;username&nbsp;and&nbsp;password&nbsp;are&nbsp;base64&nbsp;encoded&nbsp;and&nbsp;added&nbsp;to&nbsp;an&nbsp;HTTP&nbsp;header<br>
which&nbsp;will&nbsp;be&nbsp;included&nbsp;in&nbsp;each&nbsp;request.&nbsp;Note&nbsp;that&nbsp;your&nbsp;username&nbsp;and&nbsp;<br>
password&nbsp;are&nbsp;sent&nbsp;in&nbsp;plaintext.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;username:&nbsp;str<br>
&nbsp;&nbsp;password:&nbsp;str</tt></dd></dl>

<dl><dt><a name="YouTubeService-request"><strong>request</strong></a>(*args, **kwargs)</dt><dd><tt>#&nbsp;The&nbsp;deprecated_function&nbsp;wraps&nbsp;the&nbsp;actual&nbsp;call&nbsp;to&nbsp;f.</tt></dd></dl>

<dl><dt><a name="YouTubeService-use_basic_auth"><strong>use_basic_auth</strong></a>(self, username, password, scopes<font color="#909090">=None</font>)</dt></dl>

<hr>
Data descriptors inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>debug</strong></dt>
<dd><tt>If&nbsp;True,&nbsp;HTTP&nbsp;debug&nbsp;information&nbsp;is&nbsp;printed.</tt></dd>
</dl>
<dl><dt><strong>override_token</strong></dt>
</dl>
<hr>
Data and other attributes inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br>
<dl><dt><strong>auto_set_current_token</strong> = True</dl>

<dl><dt><strong>auto_store_tokens</strong> = True</dl>

<dl><dt><strong>current_token</strong> = None</dl>

<dl><dt><strong>port</strong> = 80</dl>

<dl><dt><strong>ssl</strong> = False</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeUserQuery">class <strong>YouTubeUserQuery</strong></a>(<a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Subclasses&nbsp;<a href="#YouTubeVideoQuery">YouTubeVideoQuery</a>&nbsp;to&nbsp;perform&nbsp;user-specific&nbsp;queries.<br>
&nbsp;<br>
Attributes&nbsp;are&nbsp;set&nbsp;dynamically&nbsp;via&nbsp;properties.&nbsp;Properties&nbsp;correspond&nbsp;to<br>
the&nbsp;standard&nbsp;Google&nbsp;Data&nbsp;API&nbsp;query&nbsp;parameters&nbsp;with&nbsp;YouTube&nbsp;Data&nbsp;API<br>
extensions.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeUserQuery">YouTubeUserQuery</a></dd>
<dd><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a></dd>
<dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubeUserQuery-__init__"><strong>__init__</strong></a>(self, username<font color="#909090">=None</font>, feed_type<font color="#909090">=None</font>, subscription_id<font color="#909090">=None</font>, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>)</dt></dl>

<hr>
Data descriptors inherited from <a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a>:<br>
<dl><dt><strong>format</strong></dt>
<dd><tt>The&nbsp;format&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>location</strong></dt>
<dd><tt>The&nbsp;location&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>lr</strong></dt>
<dd><tt>The&nbsp;lr&nbsp;(language&nbsp;restriction)&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>orderby</strong></dt>
<dd><tt>The&nbsp;orderby&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>racy</strong></dt>
<dd><tt>The&nbsp;racy&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>restriction</strong></dt>
<dd><tt>The&nbsp;restriction&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>time</strong></dt>
<dd><tt>The&nbsp;time&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>vq</strong></dt>
<dd><tt>The&nbsp;video&nbsp;query&nbsp;(vq)&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><a name="YouTubeUserQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl>

<dl><dt><a name="YouTubeUserQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>alt</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;alt&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>author</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;author&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>max_results</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;max-results&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>published_max</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-max&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>published_min</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-min&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>start_index</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;start-index&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>text_query</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;q&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>updated_max</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-max&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>updated_min</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-min&nbsp;parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="YouTubeUserQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeUserQuery-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-__sizeof__">__sizeof__</a>()&nbsp;-&gt;&nbsp;size&nbsp;of&nbsp;D&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value.<br>
If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br>
2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty.</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#YouTubeUserQuery-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;dict/iterable&nbsp;E&nbsp;and&nbsp;F.<br>
If&nbsp;E&nbsp;has&nbsp;a&nbsp;.<a href="#YouTubeUserQuery-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br>
If&nbsp;E&nbsp;lacks&nbsp;.<a href="#YouTubeUserQuery-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v<br>
In&nbsp;either&nbsp;case,&nbsp;this&nbsp;is&nbsp;followed&nbsp;by:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl>

<dl><dt><a name="YouTubeUserQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeUserQuery-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#YouTubeUserQuery-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object&gt;<dd><tt>dict.<a href="#YouTubeUserQuery-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;dict&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br>
v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="YouTubeVideoQuery">class <strong>YouTubeVideoQuery</strong></a>(<a href="gdata.service.html#Query">gdata.service.Query</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Subclasses&nbsp;gdata.service.<a href="gdata.service.html#Query">Query</a>&nbsp;to&nbsp;represent&nbsp;a&nbsp;YouTube&nbsp;Data&nbsp;API&nbsp;query.<br>
&nbsp;<br>
Attributes&nbsp;are&nbsp;set&nbsp;dynamically&nbsp;via&nbsp;properties.&nbsp;Properties&nbsp;correspond&nbsp;to<br>
the&nbsp;standard&nbsp;Google&nbsp;Data&nbsp;API&nbsp;query&nbsp;parameters&nbsp;with&nbsp;YouTube&nbsp;Data&nbsp;API<br>
extensions.&nbsp;Please&nbsp;refer&nbsp;to&nbsp;the&nbsp;API&nbsp;documentation&nbsp;for&nbsp;details.<br>
&nbsp;<br>
Attributes:<br>
&nbsp;&nbsp;vq:&nbsp;The&nbsp;vq&nbsp;parameter,&nbsp;which&nbsp;is&nbsp;only&nbsp;supported&nbsp;for&nbsp;video&nbsp;feeds,&nbsp;specifies&nbsp;a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;search&nbsp;query&nbsp;term.&nbsp;Refer&nbsp;to&nbsp;API&nbsp;documentation&nbsp;for&nbsp;further&nbsp;details.<br>
&nbsp;&nbsp;orderby:&nbsp;The&nbsp;orderby&nbsp;parameter,&nbsp;which&nbsp;is&nbsp;only&nbsp;supported&nbsp;for&nbsp;video&nbsp;feeds,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specifies&nbsp;the&nbsp;value&nbsp;that&nbsp;will&nbsp;be&nbsp;used&nbsp;to&nbsp;sort&nbsp;videos&nbsp;in&nbsp;the&nbsp;search<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result&nbsp;set.&nbsp;Valid&nbsp;values&nbsp;for&nbsp;this&nbsp;parameter&nbsp;are&nbsp;relevance,&nbsp;published,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;viewCount&nbsp;and&nbsp;rating.<br>
&nbsp;&nbsp;time:&nbsp;The&nbsp;time&nbsp;parameter,&nbsp;which&nbsp;is&nbsp;only&nbsp;available&nbsp;for&nbsp;the&nbsp;top_rated,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top_favorites,&nbsp;most_viewed,&nbsp;most_discussed,&nbsp;most_linked&nbsp;and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;most_responded&nbsp;standard&nbsp;feeds,&nbsp;restricts&nbsp;the&nbsp;search&nbsp;to&nbsp;videos&nbsp;uploaded<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;within&nbsp;the&nbsp;specified&nbsp;time.&nbsp;Valid&nbsp;values&nbsp;for&nbsp;this&nbsp;parameter&nbsp;are&nbsp;today<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(1&nbsp;day),&nbsp;this_week&nbsp;(7&nbsp;days),&nbsp;this_month&nbsp;(1&nbsp;month)&nbsp;and&nbsp;all_time.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;default&nbsp;value&nbsp;for&nbsp;this&nbsp;parameter&nbsp;is&nbsp;all_time.<br>
&nbsp;&nbsp;format:&nbsp;The&nbsp;format&nbsp;parameter&nbsp;specifies&nbsp;that&nbsp;videos&nbsp;must&nbsp;be&nbsp;available&nbsp;in&nbsp;a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;particular&nbsp;video&nbsp;format.&nbsp;Refer&nbsp;to&nbsp;the&nbsp;API&nbsp;documentation&nbsp;for&nbsp;details.<br>
&nbsp;&nbsp;racy:&nbsp;The&nbsp;racy&nbsp;parameter&nbsp;allows&nbsp;a&nbsp;search&nbsp;result&nbsp;set&nbsp;to&nbsp;include&nbsp;restricted<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content&nbsp;as&nbsp;well&nbsp;as&nbsp;standard&nbsp;content.&nbsp;Valid&nbsp;values&nbsp;for&nbsp;this&nbsp;parameter<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are&nbsp;include&nbsp;and&nbsp;exclude.&nbsp;By&nbsp;default,&nbsp;restricted&nbsp;content&nbsp;is&nbsp;excluded.<br>
&nbsp;&nbsp;lr:&nbsp;The&nbsp;lr&nbsp;parameter&nbsp;restricts&nbsp;the&nbsp;search&nbsp;to&nbsp;videos&nbsp;that&nbsp;have&nbsp;a&nbsp;title,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description&nbsp;or&nbsp;keywords&nbsp;in&nbsp;a&nbsp;specific&nbsp;language.&nbsp;Valid&nbsp;values&nbsp;for&nbsp;the&nbsp;lr<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parameter&nbsp;are&nbsp;ISO&nbsp;639-1&nbsp;two-letter&nbsp;language&nbsp;codes.<br>
&nbsp;&nbsp;restriction:&nbsp;The&nbsp;restriction&nbsp;parameter&nbsp;identifies&nbsp;the&nbsp;IP&nbsp;address&nbsp;that<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;should&nbsp;be&nbsp;used&nbsp;to&nbsp;filter&nbsp;videos&nbsp;that&nbsp;can&nbsp;only&nbsp;be&nbsp;played&nbsp;in&nbsp;specific<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;countries.<br>
&nbsp;&nbsp;location:&nbsp;A&nbsp;string&nbsp;of&nbsp;geo&nbsp;coordinates.&nbsp;Note&nbsp;that&nbsp;this&nbsp;is&nbsp;not&nbsp;used&nbsp;when&nbsp;the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;search&nbsp;is&nbsp;performed&nbsp;but&nbsp;rather&nbsp;to&nbsp;filter&nbsp;the&nbsp;returned&nbsp;videos&nbsp;for&nbsp;ones<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that&nbsp;match&nbsp;to&nbsp;the&nbsp;location&nbsp;entered.<br>
&nbsp;&nbsp;feed:&nbsp;str&nbsp;(optional)&nbsp;The&nbsp;base&nbsp;URL&nbsp;which&nbsp;is&nbsp;the&nbsp;beginning&nbsp;of&nbsp;the&nbsp;query&nbsp;URL.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;defaults&nbsp;to&nbsp;'<a href="http://%s/feeds/videos">http://%s/feeds/videos</a>'&nbsp;%&nbsp;(YOUTUBE_SERVER)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="gdata.youtube.service.html#YouTubeVideoQuery">YouTubeVideoQuery</a></dd>
<dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YouTubeVideoQuery-__init__"><strong>__init__</strong></a>(self, video_id<font color="#909090">=None</font>, feed_type<font color="#909090">=None</font>, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>, feed<font color="#909090">=None</font>)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>format</strong></dt>
<dd><tt>The&nbsp;format&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>location</strong></dt>
<dd><tt>The&nbsp;location&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>lr</strong></dt>
<dd><tt>The&nbsp;lr&nbsp;(language&nbsp;restriction)&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>orderby</strong></dt>
<dd><tt>The&nbsp;orderby&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>racy</strong></dt>
<dd><tt>The&nbsp;racy&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>restriction</strong></dt>
<dd><tt>The&nbsp;restriction&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>time</strong></dt>
<dd><tt>The&nbsp;time&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>vq</strong></dt>
<dd><tt>The&nbsp;video&nbsp;query&nbsp;(vq)&nbsp;query&nbsp;parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><a name="YouTubeVideoQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl>

<dl><dt><a name="YouTubeVideoQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>alt</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;alt&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>author</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;author&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>max_results</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;max-results&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>published_max</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-max&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>published_min</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-min&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>start_index</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;start-index&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>text_query</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;q&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>updated_max</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-max&nbsp;parameter</tt></dd>
</dl>
<dl><dt><strong>updated_min</strong></dt>
<dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-min&nbsp;parameter</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="YouTubeVideoQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#YouTubeVideoQuery-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-__sizeof__">__sizeof__</a>()&nbsp;-&gt;&nbsp;size&nbsp;of&nbsp;D&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value.<br>
If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br>
2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty.</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#YouTubeVideoQuery-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;dict/iterable&nbsp;E&nbsp;and&nbsp;F.<br>
If&nbsp;E&nbsp;has&nbsp;a&nbsp;.<a href="#YouTubeVideoQuery-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br>
If&nbsp;E&nbsp;lacks&nbsp;.<a href="#YouTubeVideoQuery-keys">keys</a>()&nbsp;method,&nbsp;does:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v<br>
In&nbsp;either&nbsp;case,&nbsp;this&nbsp;is&nbsp;followed&nbsp;by:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl>

<dl><dt><a name="YouTubeVideoQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#YouTubeVideoQuery-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__hash__</strong> = None</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#YouTubeVideoQuery-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object&gt;<dd><tt>dict.<a href="#YouTubeVideoQuery-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;dict&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br>
v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>UNKOWN_ERROR</strong> = 1000<br>
<strong>YOUTUBE_BAD_REQUEST</strong> = 400<br>
<strong>YOUTUBE_CLIENTLOGIN_AUTHENTICATION_URL</strong> = 'https://www.google.com/youtube/accounts/ClientLogin'<br>
<strong>YOUTUBE_COMPLAINT_CATEGORY_SCHEME</strong> = 'http://gdata.youtube.com/schemas/complaint-reasons.cat'<br>
<strong>YOUTUBE_COMPLAINT_CATEGORY_TERMS</strong> = ('PORN', 'VIOLENCE', 'HATE', 'DANGEROUS', 'RIGHTS', 'SPAM')<br>
<strong>YOUTUBE_CONFLICT</strong> = 409<br>
<strong>YOUTUBE_CONTACT_CATEGORY</strong> = ('Friends', 'Family')<br>
<strong>YOUTUBE_CONTACT_STATUS</strong> = ('accepted', 'rejected')<br>
<strong>YOUTUBE_INTERNAL_SERVER_ERROR</strong> = 500<br>
<strong>YOUTUBE_INVALID_ARGUMENT</strong> = 601<br>
<strong>YOUTUBE_INVALID_CONTENT_TYPE</strong> = 602<br>
<strong>YOUTUBE_INVALID_KIND</strong> = 604<br>
<strong>YOUTUBE_NOT_A_VIDEO</strong> = 603<br>
<strong>YOUTUBE_PLAYLIST_FEED_URI</strong> = 'http://gdata.youtube.com/feeds/api/playlists'<br>
<strong>YOUTUBE_QUERY_VALID_FORMAT_PARAMETERS</strong> = ('1', '5', '6')<br>
<strong>YOUTUBE_QUERY_VALID_ORDERBY_PARAMETERS</strong> = ('published', 'viewCount', 'rating', 'relevance')<br>
<strong>YOUTUBE_QUERY_VALID_RACY_PARAMETERS</strong> = ('include', 'exclude')<br>
<strong>YOUTUBE_QUERY_VALID_TIME_PARAMETERS</strong> = ('today', 'this_week', 'this_month', 'all_time')<br>
<strong>YOUTUBE_RATING_LINK_REL</strong> = 'http://gdata.youtube.com/schemas#video.ratings'<br>
<strong>YOUTUBE_SCHEMA</strong> = 'http://gdata.youtube.com/schemas'<br>
<strong>YOUTUBE_SERVER</strong> = 'gdata.youtube.com'<br>
<strong>YOUTUBE_SERVICE</strong> = 'youtube'<br>
<strong>YOUTUBE_STANDARDFEEDS</strong> = ('most_recent', 'recently_featured', 'top_rated', 'most_viewed', 'watch_on_mobile')<br>
<strong>YOUTUBE_STANDARD_FEEDS</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds'<br>
<strong>YOUTUBE_STANDARD_MOST_DISCUSSED_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_discussed'<br>
<strong>YOUTUBE_STANDARD_MOST_LINKED_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_linked'<br>
<strong>YOUTUBE_STANDARD_MOST_RECENT_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_recent'<br>
<strong>YOUTUBE_STANDARD_MOST_RESPONDED_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_responded'<br>
<strong>YOUTUBE_STANDARD_MOST_VIEWED_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed'<br>
<strong>YOUTUBE_STANDARD_RECENTLY_FEATURED_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured'<br>
<strong>YOUTUBE_STANDARD_TOP_FAVORITES_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/top_favorites'<br>
<strong>YOUTUBE_STANDARD_TOP_RATED_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated'<br>
<strong>YOUTUBE_STANDARD_WATCH_ON_MOBILE_URI</strong> = 'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile'<br>
<strong>YOUTUBE_SUBSCRIPTION_CATEGORY_SCHEME</strong> = 'http://gdata.youtube.com/schemas/subscriptiontypes.cat'<br>
<strong>YOUTUBE_SUPPORTED_UPLOAD_TYPES</strong> = ('mov', 'avi', 'wmv', 'mpg', 'quicktime', 'flv', 'mp4', 'x-flv')<br>
<strong>YOUTUBE_UPLOAD_TOKEN_URI</strong> = 'http://gdata.youtube.com/action/GetUploadToken'<br>
<strong>YOUTUBE_UPLOAD_URI</strong> = 'http://uploads.gdata.youtube.com/feeds/api/users'<br>
<strong>YOUTUBE_USER_FEED_URI</strong> = 'http://gdata.youtube.com/feeds/api/users'<br>
<strong>YOUTUBE_VIDEO_URI</strong> = 'http://gdata.youtube.com/feeds/api/videos'<br>
<strong>__author__</strong> = 'api.stephaniel@gmail.com (Stephanie Liu), api.jhartmann@gmail.com (Jochen Hartmann)'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">api.stephaniel@gmail.com&nbsp;(Stephanie&nbsp;Liu),&nbsp;api.jhartmann@gmail.com&nbsp;(Jochen&nbsp;Hartmann)</td></tr></table>
</body></html>